Quick answer: Your header menu shares one row with the logo, search and cart icons. When the top-level links no longer fit, Dawn moves the last ones to a second row, and the header gets taller. The lasting fix is fewer, shorter top-level items: group the rest into dropdowns. Theme settings help too: in Dawn, set Logo position to Top left or Top center so the menu gets its own full-width row; in Horizon themes, set the menu Row to Bottom.
Part of the Topic HubShopify Header Navigation Architecture: Layout Models, Space Allocation, Utility Menus, and Breakpoint Engineering →
Why the menu breaks onto a second line
The header row has a fixed width. The logo and icons take their share, and the menu gets what is left. On a large monitor everything fits. On a laptop or a narrow browser window, the same links run out of room.
We tested this on the Dawn demo store. We added seven extra top-level links in the browser, so the menu had ten. At a 1280 px wide window they stayed on one row and the header was 84 px tall. At 1024 px, “Our story” dropped to a second row and the header grew to 124 px (measured with the browser’s element size, December 2026).
Real screenshot, Dawn demo store. Extra links were added in the browser to simulate a longer menu.
Same simulation at 1024 px. Dawn switches to the hamburger menu below 990 px, so wrapping shows up on laptop-sized windows.
Store owners report the same thing. One saw the menu split into two lines between roughly 900 and 1300 px (Shopify Community thread). Another thought a banner change caused it. A helper replied that wrapping is normal on smaller screens, and that a wider page width fixed their layout (Shopify Community thread).
Horizon themes handle it differently
Horizon-family themes don’t wrap. Links that don’t fit move into a More item at the end of the row (Horizon header-menu.js). We added links to the Vessel demo store the same way: at 1024 px the row stayed single, and the last three links appeared under More.
Real screenshot, Vessel demo store (“From the Horizon collection”). Extra links added in the browser to simulate a longer menu.
No wrap is tidier, but links under More are easy to miss. The fixes below still apply.
Fix 1: cut and group top-level items
This is the fix that keeps working as your store grows. Shopify recommends seven or fewer top-level menu items to avoid overcrowding (Shopify Help Center).
- Go to Content › Menus and open your main menu.
- Merge related items under one parent. For example, Women, Men and Kids under “Shop”.
- Shorten labels. “Gift cards” can become “Gifts”.
- Move links like About, FAQ and Contact to the footer menu.
- Save, then check the header at a laptop width.
Fix 2: give the menu its own row
In Online Store › Themes › Customize › Header:
- Dawn: set Logo position to Top left or Top center. The menu then sits on a full-width row under the logo. Middle center leaves the menu the least room, because it shares the row with a centered logo (Dawn base.css).
- Horizon: under Menu, set Row to Bottom so the menu moves off the logo row.
Fix 3: smaller text or wider page
- Horizon: in the header’s Menu block, lower Top level size.
- Dawn: open Theme settings › Layout and raise Page width. It ranges from 1000 to 1600 px, default 1200 px (Dawn settings_schema.json). This only helps on screens wider than the current setting.
- Dawn: setting Menu type to Drawer puts the whole desktop menu behind a menu button. It ends wrapping, but hides every link.
Fix 4: CSS, as a last resort
Community answers often add CSS to shrink spacing or force one line (example thread). It can work, but forcing one line with too many links can push items under the icons or off screen. Duplicate the theme first, and expect to redo the change after theme updates (Shopify Help: duplicating themes).
When the theme isn’t enough
A menu app gives you more layout control. In Navi+, a Desktop Mega Menu can be placed with Add below your header, so it gets its own full-width row. You can also turn on Show navigation arrows when menu overflows: the menu stays on one line and shoppers scroll the extra items with an arrow (Navi+ docs: menu bar wraps). Merging items into one parent with columns is still the first fix the docs suggest.
See how a mega menu can hold many categories under a few top-level items.
Too many categories for one header row?
Group them into a Desktop Mega Menu in Navi+ and place it on its own row. Try it on a theme copy first.
Install on Shopify — FreeQuick checklist
- Seven or fewer top-level items, with short labels.
- Info pages moved to the footer.
- Logo position (Dawn) or menu Row (Horizon) gives the menu room.
- Header checked at laptop widths, not only on your own screen.
- Any CSS change made on a duplicate theme.
FAQ
Why does my Shopify menu go onto two lines only on some screens?
The header row is narrower on laptops and small windows, so the same links no longer fit. Dawn wraps the extra links onto a second row.
Can I keep the Shopify header menu on one line?
Yes. Reduce and shorten top-level items, give the menu its own row with the logo position setting, or use a theme that moves extra links into a More item.
Does Horizon wrap the header menu?
No. Horizon moves links that don’t fit into a More item at the end of the row.
Sources
- Own test: Dawn demo store and Vessel demo store, extra links added in the browser with Playwright, header height read with
getBoundingClientRect()at 1280 px and 1024 px, December 2026. - Shopify Help Center: Setting up drop-down menus — seven or fewer top-level items.
- Shopify Help Center: Duplicating themes
- Dawn: assets/base.css — header layouts per logo position.
- Dawn: config/settings_schema.json — Page width range and default.
- Horizon: assets/header-menu.js and sections/header.liquid — overflow into More; menu Row setting.
- Shopify Theme Store: Vessel
- Shopify Community: Header menu on two lines between 900px and 1300px
- Shopify Community: Main menu on header changed to two lines
- Shopify Community: Keep menu items in a single line instead of two lines
- Navi+ docs: Desktop Mega Menu bar wraps onto a second line
Explore the topics
This guide links out to focused articles — dive deeper on each.