Shopify themes, liquid, logos, and UX
Hi, i am using Blockshop 11.0.1 theme, on the mobile main homepage i want the gaps below and above the images to be the same as the gaps on each side 5px. I have quoted the current code i inserted if you could fix this.
.featured-grid--body { gap: 5px; } .featured-grid--root { padding-top: 30px; } .main-collection--grid { gap: 5px; } .featured-grid--root, .main-collection--root { padding-inline: 5px; } .main-product--root { padding-inline: 5px; }
Solved! Go to the solution
This is an accepted solution.
Hey @lucianofashion1
Follow these Steps:
1) Go to Online Store
2) Edit Code
3) Find theme.liquid file
4) Add the following code in the bottom of the file above </body> tag
<style>
@media screen and (max-width: 767px) {
.featured-grid--body {
row-gap: 5px !important;
}
.featured-grid--root {
padding-top: 5px !important;
}
}
</style>
RESULT:
If I managed to solve your problem then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
This is an accepted solution.
Hey @lucianofashion1
Follow these Steps:
1) Go to Online Store
2) Edit Code
3) Find theme.liquid file
4) Add the following code in the bottom of the file above </body> tag
<style>
@media screen and (max-width: 767px) {
.featured-grid--body {
row-gap: 5px !important;
}
.featured-grid--root {
padding-top: 5px !important;
}
}
</style>
RESULT:
If I managed to solve your problem then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
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