A user sought help making their Shopify mobile footer display in a 2x2 column layout instead of a single long column, and wanted to reduce spacing between the footer and the “follow us online” section.
Initial Solution Attempt:
A responder provided custom CSS code to be added to the theme’s base.css file
The code used CSS Grid with grid-template-columns: 1fr 1fr to create two columns on mobile screens
This initial approach didn’t work for the user
Troubleshooting:
The responder identified a syntax error in the user’s base.css file (missing semicolon)
After fixing the syntax error, the CSS still didn’t apply properly
The issue appeared to be caused by conflicting code elsewhere in the theme
Final Resolution:
Instead of adding CSS to base.css, the code was placed in theme.liquid before the closing </body> tag using <style> tags
This approach successfully implemented the two-column mobile footer layout
Status: Resolved. The user confirmed the solution worked.
Summarized with AI on October 31.
AI used: claude-sonnet-4-5-20250929.
My mobile footer is too long and I want it to be two columns side by side (like a 2x2 matrix). How to achieve this ? Also, I want to remove excess space between it and the follow us online option. Thank you.
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: