Change The Color Of A Single Main Menu Item

Topic summary

A Shopify store owner seeks help changing a single navigation menu item color (“HALLOWEEN SPECIAL”) to orange in the Studio theme. A community helper (@Made4uo-Ribe) provides CSS solutions targeting specific menu IDs for both desktop and mobile views.

Key Technical Pattern:
The solution involves adding CSS code to theme files (base.css, style.css, or theme.css) targeting specific menu item selectors. The helper emphasizes that code varies by theme and store structure—no universal solution exists.

Common Issues Addressed:

  • Desktop vs. mobile styling requires separate selectors
  • Different themes need different CSS targeting approaches
  • Placement matters: code must go after closing brackets, not within @media queries
  • Using !important flag when styles don’t apply initially
  • Submenu items requiring additional selectors

Thread Evolution:
The discussion expands as 30+ users request similar customizations for their stores across various themes (Be Yours, Refresh, Pipeline, Sense, Spotlight, Publisher, Expanse, Supply, Wookie). @Made4uo-Ribe provides individualized CSS solutions for each, demonstrating how selectors must be inspected and customized per store.

Resolution Status:
Most cases resolved successfully with custom CSS targeting menu item IDs, hrefs, or nth-child selectors. The thread remains active with new requests continuing to arrive.

Summarized with AI on October 30. AI used: claude-sonnet-4-5-20250929.

Thank you for the info, do you like to change the mobile aslo?

This is for te dekstop and mobile.

From you Admin page, go to Online Store > Themes

Select the theme you want to edit

Under the Asset folder, open the main.css(base.css, style.css or theme.css)

Then place the code below at the very bottom of the file.

li.menu-item > a[href="https://powerhome.co.za/apps/track123"], 
li.menu-item.menu-mobile-item a[href="https://powerhome.co.za/apps/track123"] {
    color: blue;
}

And save.

Result:

Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!