footer alignment

Topic summary

Goal: align the footer menu horizontally with the newsletter and reduce mobile font size, using Shopify theme CSS edits.

Actions taken:

  • Provided step-by-step instructions to edit base.css (Online Store > Themes > Edit code > Assets) and add CSS with media queries.
  • Desktop (≥750px): converted the footer menu list to a horizontal flex layout (no wrapping, gap between items), removed extra right margins, and ensured the footer menu block can use full width.
  • Mobile (≤749px): increased specificity to set footer menu link font size to 20px.

Results:

  • Mobile font size change confirmed working immediately.
  • Initial desktop alignment still left-aligned issue; after sharing code context, the user reported it now works.

Follow-up request (header):

  • Increase the country selector (localization) font size on desktop, and decrease mobile dropdown menu font size.
  • Added CSS to enlarge the desktop localization select (font-size: 2rem), and set mobile submenu link font-size to 18px when open.

Notes:

  • CSS media queries (screen width breakpoints) and flex layout are central.
  • Images were used to illustrate the before/after results.

Status: resolved; user confirmed fixes worked and sizes can be adjusted as preferred.

Summarized with AI on December 12. AI used: gpt-5.

i need the footer menu align horizontally to the news letter and i also want to decrease the font size on mobile

1 Like

Hi @diana-R

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-block__details-content > li:not(:last-child) {
    margin-right: 0;
}
    
ul.footer-block__details-content {
    display: flex;
    flex-wrap: nowrap;
    gap: 2rem;
}

.footer-block.grid__item.footer-block--menu {
    max-width: 100%;
}

.footer-block__details-content > :first-child .list-menu__item--link {
    padding-top: .5rem;
    }
}

@media screen and (max-width: 749px){
.footer-block.grid__item.footer-block--menu .list-menu__item--link {
    font-size: 20px !important;
}
}

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

1 Like

it works for the font size but doesn’t align to left on desktop yet

Are you there??

Can you add the code so I can see what I need to adjust. Thanks!

it works now thanks

1 Like

i need one more help from you please, on the header i want the country selection size increased and i also want the mobile drop down menu font size decreased

Yeah, sure.

Add this one on the base.css. Same instuction.

.desktop-localization-wrapper .disclosure .localization-form__select {
    font-size: 2rem;
}

@media only screen and (max-width: 749px){
details[open] > .header__submenu a {
    font-size: 18px !important;
}
}

And Save.

Result:

You can adjust the size as per your preference.

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