Goal: change a single menu item (e.g., SALE) to red, optionally both in the main header and in dropdowns; also questions on coloring sub-menu items.
Core approach: add custom CSS targeting the specific link or menu position, appended at the bottom of the theme stylesheet (Online Store → Theme → Edit code → Assets → theme.scss.liquid / theme.css.liquid / theme-styles.scss.css.liquid, depending on theme).
Key solutions:
Target by URL/handle: .Header__MainNav a[href=“/collections/sale” or “/collections/sale-items”] { color: red; } for precision.
Target by ID (if present): #navigation-sale { color: red; }.
Affect all items (example): #AccessibleNav li a { color: red; }.
Target by position (theme-specific): .site-nav li:nth-child(N) a { color: red; } and similar selectors for desktop/mobile variants (#SiteNav, #MobileNav), sometimes with !important. Other theme-specific selectors were provided for Debut, Prestige-based custom, and headers with “scrollheader” or “tt-desctop-menu”.
Outcomes: several users confirmed desktop success; mobile needed separate selectors. Users also asked where to place CSS; guidance was provided.
Status: ongoing. New requests (e.g., Warehouse theme “special offers”, lejean.com) remained unresolved in the thread.
Summarized with AI on December 11.
AI used: gpt-5.
I’ve been trying to figure out how to change the text color of one link at the top of my menu bar. I’ve been searching old threads to no avail, as my theme is a custom prestige based theme.
Does the above answer your question? I’m reading this as you wanting to change a single word but the above is about change the background colour of the announcement bar. If you are talking about a specific/word link can you give some details about where that is? You have a simple menu at the moment but I don’t see a specific “sale” link.
Jason, yes that is what I’m trying to do, I’m actually trying to determine whether to create a SALE button on the main header or under the Store menu dropdown. I’d like to have the option to turn either of them red. For the time being, i’ve added a button to the top menu.
I’d also like to be able to know how to change the colors for the sub menu items under store, like jewelry, bath towels etc.
I don’t see the sale button but let’s just use any item in your menu. If you are ok with editing some CSS in your take a look at the code below:
/* change rug-medium menu item to red */
.Header__MainNav a[href="/collections/rugs/medium"] {
color: red;
}
It should be easy enough to follow. It’s going to target any link in your main header navigation, with a url of “/collections/rugs/medium”, and turn it red.
If your sale collection is “/collections/sale” you’d change the code to:
/* change a sale collection link to red */
.Header__MainNav a[href="/collections/sale"] {
color: red;
}
See how you go with that and post back if you get stuck.
Edit. I can see you have a link there now for “/collections/sale-items”. Just use the same idea as above for that handle.
Hi! I’m trying to change the color for a menu item, I did try to paste the code but it didn’t work. I’m using a Brooklyn theme. I appreciate your help!
I am trying to change the word SALE to red. I did the compare price, so I compared the price I had before to the sale one. However is in grey colour and I would like it in red,