Shopify themes, liquid, logos, and UX
Hey, I am trying to remove the top padding from the sections above on my product and collections pages but when I edit the general code to change top padding from 60px to 0px, it changes my homepage and footer as well making some sections look unnatural (attached examples below) Please help!
My store link is: www.revailco.com
please try this code 1. Go to Online Store->Theme->Edit code 2. Asset->/theme.scss.liquid->paste below code at the bottom of the file.
@media screen and (min-width: 769.1px){
.template-collection .box { padding-top: 0px !important;}
.template-product .box { padding-top: 5px !important;}
}
Thanks!
Hey thanks , it works fine except for the fact that my footer is also affected.
Please remove previous provided css class .
please try this code 1. Go to Online Store->Theme->Edit code 2. Asset->/theme.scss.liquid->paste below code at the bottom of the file.
@media screen and (min-width: 769.1px){
.template-collection .collection-section .box { padding-top: 0!important;}
.template-product .product-single .box {padding-top: 5px!important;}
}
Thanks!
User | RANK |
---|---|
227 | |
155 | |
61 | |
52 | |
46 |
Thanks to all Community members that participated in our inaugural 2 week AMA on the new E...
By Jacqui Mar 10, 2023Upskill and stand out with the new Shopify Foundations Certification program
By SarahF_Shopify Mar 6, 2023One of the key components to running a successful online business is having clear and co...
By Ollie Mar 6, 2023