I’m currently using Dawn theme, just wondering if there is a way to remove the spacing between product images in product description section? (See picture below)
Also, is it possible to auto resize the images in product description for mobile?
To remove the spacing between product images in product description section, you will need to edit the CSS code in your Shopify theme. In the theme editor, locate the CSS file containing the code related to the product description section.
Look for any lines of code that contain “margin” or “padding” and change the values to “0”.
This will remove any spaces between the images. To auto resize the images in product description for mobile, you will need to add a media query to the CSS code. This will allow the images to display in different sizes on different devices.
To do this, add the following code to the CSS file: @media only screen and
(max-width: 600px) { img { width: 100%; } }
This code will ensure that all images in the product description section will automatically resize to fit the width of the device.
If you need further assistance to getting this done, You can contact me at dynextic@gmail.com
Hi @hobbyzoneuk you can solve the space between images in your product description by adding CSS code below at the bottom of base.css in your store admin > Sale channels > Online store > Themes > Edit code > Assets > base.css