Goal: add divider lines between specific links in the Dawn theme’s drawer (hamburger) menu on mobile and desktop.
Key details:
Targeted items: “Prints and Merch”, “Museum and Archive”, and “Russian Recording”. A screenshot and store URL/password were shared. Images are central to understanding placement.
One response noted generic CSS would add lines under every item, not selective ones.
Add CSS targeting specific link IDs:
a#HeaderDrawer-prints-and-merch, a#HeaderDrawer-museum-and-archive, a#HeaderDrawer-russian-recording { text-decoration: underline; text-decoration-color: white; }
This renders an underline per chosen link, effectively acting as dividers. The original poster confirmed it works.
Follow-up requests:
Another user asked for a mobile-only approach, then said they solved it and requested help to split the header menu for laptop/tablet only. Helper asked for a store URL and declined email contact.
A final user asked how it was done.
Status:
Initial issue resolved with targeted CSS.
Later questions (desktop/tablet header menu split, and “how did you do this?”) remain open.
Hello, I have been learning how to customize my store for the past few weeks and haven’t been able to find a solution for this customization.
I would like to add divider lines between specific menu items in my drawer menu for both mobile and desktop: one below “Prints and Merch”, one below “Museum and Archive”, and one below “Russian Recording” please see attached screenshot for reference
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 “base.css, style.css or theme.css” file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code: