Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
I have tried for days and hours and still am unable to reduce the padding in the footer section. See highlighted area in pic.
Solved! Go to the solution
This is an accepted solution.
Hello @amyjones33
Inside Shopify Admin, you can go to Edit theme code, open file main.css and add this code to the bottom
.sf-footer__block {
padding-bottom: 40px !important;
padding-top: 40px !important;
}
The result
Hope it helps!
Hi @amyjones33 ,
Try this one.
.sf-footer__accordion.flex.flex-wrap.lg\:flex-nowrap.-mx-4.lg\:-mx-8.acc-initialized * {
padding-top: 0px;
padding-bottom: 0px;
}
Result:
I hope it help.
Thank you for your response but that did not work. I added it to my theme.css file at the bottom and the padding is still there. 😞
I even added the !important and it didn't work.
This is an accepted solution.
Hello @amyjones33
Inside Shopify Admin, you can go to Edit theme code, open file main.css and add this code to the bottom
.sf-footer__block {
padding-bottom: 40px !important;
padding-top: 40px !important;
}
The result
Hope it helps!
My template has a advanced section in the theme settings where I can add custom css. I added it there and it worked. Thanks so much!!!
You are welcome.
By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024