Goal: Redesign a Shopify header dropdown menu from a full-width red mega-menu to a compact, centered dropdown similar to a provided example.
Actions taken:
Custom CSS added in assets/styles.css to change the dropdown (.navigation__tier-2-container) to an absolute, centered popup under the parent item (top: 100%, left: 50%, transform: translateX(-50%), visibility/opacity transitions).
Additional CSS set max-width: 1200px and auto margins to better center/contain the submenu.
Current status/issues:
Alignment remains inconsistent: the “Over ons → Contact” submenu still appears far left with excess red background.
Desired refinements not yet implemented: single-column layout, uniform alignment, smaller font, and an image positioned to the right of the menu items.
Requests/next steps:
Guidance on fixing alignment for all submenu items, specifically the “Over ons → Contact” case.
Instructions on how to add an image to the dropdown (e.g., via CSS background or theme section settings) and adjust typography.
Notes:
Screenshots and code snippets are central to the discussion.
No final resolution yet; thread remains open with pending styling and image-integration questions.
Summarized with AI on December 19.
AI used: gpt-5.
I would like to change my drop down menu to get rid of the excess red, page-width filling menu and would like to have a more subtle menu like the pic below.
Thanks a lot for your reply and offered solution!
That’s almost the desired result, however the menu items are not completely alligned with where the menu item is on the page, see:
Would you happen to know a fix for this as well? Thanks a lot again!
It’s not a necessity to have the menu items listed in 2 seperate columns, these may be one column as well should that make it easier possibly.