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

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;
}