Web Analytics

Fill the form & Get Installation Support





    Magento 2 : How to give some space (Margin) in more views thumbnail images on product detail page?

    By default in Magento 2, we can’t set margin or space between more views thumbnail images using CSS on the product detail page.

    If you want to give some space between more views thumbnail images on the product detail page then follow the below steps.

    Step 1 : Override this file into your theme : vendor/magento/module-catalog/view/frontend/templates/product/view/gallery.phtml

    Step 2: Paste the below code in the last of the file

    Step 3: Run below mentioned commands

    That’s it.

    Now, you can check your product detail page. You can see margin or space between more views thumbnail images.

    Fill the below form if you have any Magento programming need.





      Recent Articles

      Author Info

      Hire R. Patel

      Get a Free Quote





        Connect With Us