im trying to keep the logo where it is but make the nav menu text centre to the page
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: flexandjustify-contentproperties for the menu container - A more detailed solution provides specific implementation steps:
- Navigate to Shopify admin → Online Store → Themes → Actions → Edit code
- Locate the theme’s CSS file (theme.scss.liquid or styles.scss.liquid)
- 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.
1 Like
Try using display flex for the menu and then justify content
Hi @jaming123 ,
I understand that you want to make the nav menu text centre to the page.
- 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 “theme.scss.liquid” or “styles.scss.liquid” file, depending on which file your theme uses to store its CSS styles.
- 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;
}
-
Copy and Paste, Dont forget to SAVE.
-
Result.
-
I hope it help.

