FOOTER CODE

Topic summary

A Shopify store owner accidentally misaligned their footer content, causing it to appear left-aligned instead of centered.

Problem:

  • Footer elements shifted to the left side after code modifications
  • User provided a screenshot showing the misalignment

Solutions Provided:
Two community members offered CSS fixes:

  1. Made4uo-Ribe’s approach: Add CSS code to the theme’s stylesheet (base.css/style.css/theme.css) targeting footer alignment with media queries for screens 750px and wider

  2. Dan-From-Ryviu’s approach: Add similar CSS through the theme customizer’s Custom CSS section for simpler implementation

Both solutions use justify-content: center and text-align: center properties to re-center the footer content.

Resolution:
The issue was resolved successfully. The original poster confirmed the fix worked and expressed gratitude.

Summarized with AI on November 3. AI used: claude-sonnet-4-5-20250929.

Dear Shopify forum,

I have done something with the footer code and now it’s to the left in the footer.

Is there anyone out there that can see what the issue is and help me with how I can center it or just make it look better again?

Thank you so much

1 Like

Hi @Frogfinds

Try this one.

  1. From your Shopify admin dashboard, click on “Online Store” and then “Themes”.
  2. Find the theme that you want to edit and click on “Actions” and then “Edit code”.
  3. 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:
@media screen and (min-width: 750px) {
.footer__content-bottom-wrapper:not(.footer__content-bottom-wrapper--center) .footer__copyright {
        text-align: center !important;
}

.footer__content-bottom-wrapper.page-width {
    justify-content: center;
}
}

Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better!

Hi @Frogfinds

Please add this code to Custom CSS in Online Store > Themes > Customize > Theme settings

.footer__content-bottom-wrapper {
    justify-content: center;
}
.footer__content-bottom-wrapper .footer__copyright {
    text-align: center !important;
}

Thank you so much! I’m so grateful!! :heart:

Welcome! Would you mind hitting ‘like’ as well? Thanks!