How can I center the navigation menu text without moving the logo?

Topic summary

A user wants to center their navigation menu text while keeping the logo in its current position on their Shopify store.

Proposed Solutions:

  • One suggestion recommends using CSS flexbox with display: flex and justify-content properties for the menu container
  • A more detailed solution provides specific implementation steps:
    1. Navigate to Shopify admin → Online Store → Themes → Actions → Edit code
    2. Locate the theme’s CSS file (theme.scss.liquid or styles.scss.liquid)
    3. Add the following CSS code at the bottom:
header.header.header--middle-left.header--mobile-center.page-width.header--has-menu {
  display: flex;
  justify-content: space-between;
}

The user provided password-protected store access for further assistance. A screenshot showing the expected result was included in the response. The discussion remains open as the original poster has not confirmed whether the solution worked.

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

im trying to keep the logo where it is but make the nav menu text centre to the page

1 Like

Try using display flex for the menu and then justify content

can you be more specific please

https://duo-scents.myshopify.com/

password pdog

thank you

Hi @jaming123 ,

I understand that you want to make the nav menu text centre to the page.

  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 “theme.scss.liquid” or “styles.scss.liquid” file, depending on which file your theme uses to store its CSS styles.
  4. At the bottom of the file, add the following CSS code:
header.header.header--middle-left.header--mobile-center.page-width.header--has-menu {
    display: flex;
    justify-content: space-between;
}