Web Analytics

Fill the form & Get Installation Support





    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





        Let our Magento expert connect to discuss your requirement.


          We offer Magento
          certified developers.

          Our Magento clientele
          is 500+.

          We sign NDA for the
          security of your projects.

          We’ve performed 100+
          Magento migration projects.

          Free quotation
          on your project.

          Three months warranty on
          code developed by us.