A Shopify store owner using the Brooklyn theme wants to change the font color of a “2 for 1” menu item to #FF7F7F (bold) in both the main navigation and dropdown menu.
Current situation:
Desktop styling works with CSS targeting .site-header a[href="/collections/2-for-1"]
Mobile version does not display the color change
Solutions provided:
Multiple approaches were suggested:
Target mobile menu specifically using #NavDrawer a[href="/collections/2-for-1"] selector
Use media queries with @media screen and (min-width: 480px) to differentiate device styling
Apply .mobile-nav__item[href="/collections/2-for-1"] for mobile navigation
Resolution:
The user confirmed that the mobile-specific CSS selector worked, acknowledging they need separate code snippets for desktop and mobile menus. Video tutorials were also shared as additional resources.
Summarized with AI on November 25.
AI used: claude-sonnet-4-5-20250929.
You are on the right path, although since there is a difference between the 2 menus (desktop / mobile). You’ll need to add a CSS code for mobile it to work