Hi there!
I was wondering how I can reduce the header and footer padding (both desktop and mobile website) with the Loft Theme.
Any help would be grate. Thanks in advanced!
A user seeks to reduce header and footer padding in the Shopify Loft Theme for both desktop and mobile versions. Two solutions are provided:
Footer Padding Fix:
base.css file in the Assets folder.footer__content.grid--full and .footer-block__wrapper with padding-top: 0px and padding-bottom: 0px@media only screen and (max-width: 768px) for mobile adjustmentsHeader Padding Fix:
Theme.css in Assets folder.header__wrapper and .pre-header__wrapper with padding: 0px 4% using !important flag@media screen and (min-width: 769px) for desktopResolution: The issue was successfully resolved using the provided CSS modifications.
Hi there!
I was wondering how I can reduce the header and footer padding (both desktop and mobile website) with the Loft Theme.
Any help would be grate. Thanks in advanced!
Hi @AlbertPala ,
Would you mind to share your URL websie with password if its protected? Thanks!
Hi @Made4uo-Ribe ,
Thanks for your interest. Yes, sure, here the URL:
https://www.automotiveicons.com/
Thanks in advanced!
Thank you for the Information, the header seems good on my screen.
Try this for the footer:
.footer__block-wrapper {
padding-top: 0px;
padding-bottom: 0px;
}
Result:
This will also decrease on the mobile but if not enough you add this one.
@media only screen and (max-width: 768px){
.grid--full.footer__content {
padding-bottom: 0px;
}
.subsection__wrapper {
padding-top: 0px;
}
}
Result mobile:
I hope it help.
Hi @AlbertPala
This is Richard from PageFly - Shopify Page Builder App, I’d like to suggest this idea:
Online Store ->Theme ->Edit code
Assets ->Theme.css
.header__wrapper, .pre-header__wrapper {
padding: 0px 4% !important;
}
@media screen and (min-width: 769px){
.footer__block-wrapper {
padding: 0px 4% !important;
}
}
Hope you find my answer helpful!
Best regards,
Richard | PageFly
Thanks a lot, it worked!
Glad to hear that, your welcome. ![]()