Hello, looking to align my footer for mobile and desktop like in the photos below. I’ve tried to find code online and nothing worked. Please help!
Would mind to share your store URL?
Absolutely.
https://485bab-4.myshopify.com/
Thanks for the info, check this one.
From your Shopify admin dashboard, click on “Online Store” and then “Themes”.
Find the theme that you want to edit and click on “Actions” and then “Edit code”.
In the “Assets” folder, click on “base.css, style.css or theme.css” file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
.footer-block__details-content.rte {
text-align: center;
}
.footer__blocks-wrapper.grid.grid--1-col.grid--2-col.grid--4-col-tablet.scroll-trigger.animate--slide-in {
column-gap: 0px;
}
And Save.
Result:
Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!
Unfortunately that did not work.
Added to the bottom of my base.css file and nothing happened. Same results
Hello @Remoteanglers ![]()
In Shopify Admin, you can go to Edit theme code, open file base.css and add this code at the bottom
.footer-block__details-content {
text-align: center;
}
The result
Hope that helps!
That worked for desktop!
Do you know how to resolve for mobile?
Add some !important.
.footer-block__details-content.rte {
text-align: center !important;
}
.footer__blocks-wrapper.grid.grid--1-col.grid--2-col.grid--4-col-tablet.scroll-trigger.animate--slide-in {
column-gap: 0px !important;
}
And Save.
Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!




