Liquid, JavaScript, themes, sales channels
Hi! My products are all the way to the left and right without any padding around. How can I add padding to the whole site in general? The website is realbbomb.com and here is a screenshot.
@realbbomb, to add padding for the whole website, add this code at the end of your CSS file:
.layout--main-content {
padding: 30px !important;
}
If you just want to add padding to only your collection page:
.template--collection .layout--main-content {
padding: 30px !important;
}
@realbbomb please Go to Online Store->Theme->Edit code then go to assets/theme.css ->paste below code at the bottom of the file.
@media only screen and (min-width: 798px){
.template--collection .layout--main-content {
padding: 30px 50px !important;
}
}
Are you ready to take your business to the next level? Look no further than the latest ...
By SarahF_Shopify Apr 15, 2024We’re keeping the ball rolling to make sure you’re always ahead of the game. So buckle ...
By JasonH Apr 8, 2024Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024