Center Footer Menu Title and Links (Dawn)

Topic summary

A user seeks to center footer menu headings (“Customer Support” and “Policies”) on mobile view in the Dawn theme, noting that their CSS attempt only centered the links, not the headings.

Solutions Provided:

Two working approaches were offered:

  • Solution 1: Add CSS targeting footer.footer.color-accent-1.gradient h2 with text-align: center to base.css/style.css/theme.css
  • Solution 2: Add media query CSS to section-footer.css targeting .footer-block__heading with text-align: center for screens max-width 768px

Outcome:

The original poster confirmed the first solution worked perfectly and thanked the contributor. Both solutions use CSS modifications to the theme files, with the key difference being the specific selector and file location used.

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

How do I center the Heading of my Footer Menu on Mobile View (Customer Support and Policies; refer to image below)? I tried applying the code below to my section-footer.css but only the links were centered. Here is my website URL: https://adlaudemdei.com/

@media screen and (max-width:768px){

.footer-block__details-content{
text-align: center;
}

.footer-block__details-content .list-menu__item{
display: inline-block;
}
}

1 Like

Hi @pmltntc

Try 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.footer.color-accent-1.gradient h2 {
    text-align: center;
}

I hope it help.

Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!

1 Like

This worked perfectly! Thank you so much!

1 Like

Hello @pmltntc

Please add the following CSS at the end of the file Online Store → Theme → Edit code → Assets → section-footer.css:

@media only screen and (max-width: 768px)  
{
    .footer-block__heading {
        text-align: center;
    }
}

Please hit Like and Mark it as a Solution if you find our reply helpful.