A user is experiencing layout issues with the mega menu on Shopify’s Dawn theme, where menu items extend infinitely downward instead of wrapping properly after a certain number of rows (around 20 items).
Initial Problem:
Mega menu rows continue downward indefinitely
User wants items to wrap to the right after approximately 20 rows
Mobile-friendliness must be maintained
Solution Provided:
A CSS code snippet was shared to add to the base.css file:
Uses CSS Grid with display: grid and grid-template-columns: 1fr 1fr
Applied only on desktop viewports (min-width: 768px)
Follow-up Issues:
Gaps between menu items are too wide after applying the fix
User wants to know how to reduce spacing
User also asks about alphabetically sorting the menu items
Status: The discussion remains open with unanswered questions about spacing adjustments and alphabetical sorting. Screenshots were shared to illustrate the problems.
Summarized with AI on November 15.
AI used: claude-sonnet-4-5-20250929.
I have a question about the Dawn theme mega menu. As you can see in the screenshot, the rows under the mega menu extend infinitely downward. How can I adjust this so that, for example, after the 20th row, it starts moving to the right? It’s also important that it remains mobile-friendly.