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.
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025