Justify menu items for desktop in dawn theme

Topic summary

A user seeks to justify (evenly distribute) menu items across the full width of the header in Shopify’s Dawn theme for desktop view.

Solutions Proposed:

Two approaches were offered by different responders:

  1. CSS-only solution (recommended for minimal impact):

    • Add CSS to base.css file
    • Target .header__inline-menu .list-menu--inline with justify-content: space-between and width: 100%
    • This approach affects only the menu area
  2. Alternative method:

    • Edit theme.liquid file
    • Add markup code before the closing </body> tag

Status: Multiple working solutions provided with step-by-step instructions. One responder requested the store URL for more specific guidance. The issue appears resolved with CSS being the cleaner implementation.

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

Hi,
In Dawn theme, I need to justify menu items on desktop view.
Can you help me please? Check the attachment.

Thank you
Stefano

1 Like

Hi @visivastudio

Would you mind sharing your store URL? Thanks!

@visivastudio , you want this?

Follow this step

Step 1. Go to Admin → Online store → Theme > Edit code

Step 2. Find the file theme.liquid.

Step 3. Add this code above


Hello, If you insert this css it will not impact other area. This only work in menu.
Step 1: Navigate to your Shopify admin panel and go to “Online Store.”

Step 2: Click on “Themes” and then select Edit code

Step 3: Find base.css

nav.header__inline-menu>ul.list-menu.list-menu--inline {
    justify-content: space-between !important;
    width: 100%;
}

Hope it will work.