Shopify themes, liquid, logos, and UX
Hi,
On a product page, the spacing between the image and text is fine on desktop, however when viewing on mobile there is no gap and they are almost touching.
Is there a way to increase the space between the bottom of the image and the product title on mobile only?
Link: https://qvwine.com/products/quatre-vin-red-2021
Thanks in advance!
Solved! Go to the solution
This is an accepted solution.
Yes there is, add the following CSS code to the theme scss file (Online Store -> Actions -> Edit Code -> Assets/theme.scss.liquid):
@media screen and (max-width: 749px) {
.product__content-header {
margin-top: 32px !important;
margin-bottom: 32px !important;
}
}
This is an accepted solution.
Yes there is, add the following CSS code to the theme scss file (Online Store -> Actions -> Edit Code -> Assets/theme.scss.liquid):
@media screen and (max-width: 749px) {
.product__content-header {
margin-top: 32px !important;
margin-bottom: 32px !important;
}
}
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025