Hi there!
Can you tell me how I can get all the 3 footer “boxes” with the text next to each other in the mobile view and with less spacing in between the lines? I would like the footer to look like in the desktop view.
Best,
Isabelle
A user seeks to adjust their Shopify store’s footer layout for mobile view, wanting three footer sections displayed side-by-side with reduced spacing, similar to the desktop layout.
Solution Provided:
A PageFly representative offers custom CSS code to be added to the section-footer.css file, which:
Follow-up Issues:
The original poster reports the code works but needs refinement:
The representative confirms the solution appears implemented correctly based on screenshots.
Additional Users:
Two other users encounter similar challenges:
section-footer.css file (only finds footer-group.json and footer.liquid)Status: The thread remains open with unresolved technical questions about file locations and layout refinements for multiple users.
Hi there!
Can you tell me how I can get all the 3 footer “boxes” with the text next to each other in the mobile view and with less spacing in between the lines? I would like the footer to look like in the desktop view.
Best,
Isabelle
Hi @isabellemaria ,
This is Richard from PageFly - Landing page builder, I’d like to suggest this idea:
Step 1: Go to Online Store->Theme->Edit code
Step 2: Asset->/section-footer.css->paste below code at the bottom of the file:
@media screen and (max-width: 749px) {
.footer__content-top {
padding-left: 10px;
padding-right: 10px;
}
.footer__blocks-wrapper {
display: flex !important;
flex-wrap: nowrap;
}
.footer__blocks-wrapper .grid__item {
max-width: calc(100% / 3);
margin: 0 !important;
}
}
I hope it would help you
Best regards,
Richard | PageFly
Is it possible to also reduce the space between the lines and make the font a bit smaller so it doesnt overlap?
You can try below code in section-footer.css file:
@media screen and (max-width: 749px) {
.footer__content-top {
padding-left: 10px;
padding-right: 10px;
}
.footer__blocks-wrapper {
display: flex !important;
flex-wrap: nowrap;
}
.footer__blocks-wrapper .grid__item {
max-width: calc(100% / 3);
margin: 0 !important;
}
.footer-block__details-content {
margin-bottom: 10px;
}
.footer-block--newsletter {
margin-top: 10px;
}
.footer-block__details-content .list-menu__item--link {
padding: 0;
font-size: 10px;
}
}
I hope it would help you
Best regards,
Richard | PageFly
HI Richard,
This works quite well, however there are still some things missing with this code:
The Land/region (language) button is not in the middle (centered) now ➔ how to center it?
The font is rose colored. ➔ how to make it white?
Best,
Isabelle
Hi @isabellemaria ,
I checked it looks like you got the solution right?
Do you have a problem that I can help you with?
Best regards,
Richard | PageFly
I Richard, I have the same request as Isabellemaria. I tried to copy-paste the code, but I cant find the section-footer.css. I have only the footer-group.json and footer.liquid. Can you help me? I would like to know where I need to put the code. Thanks