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.
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:
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:
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:
#sidebar-menu > div > div.header-sidebar__scroller > ul > li:nth-child(1) > a {
color: red;
}
#shopify-section-sections--22486993764638__header > height-observer > x-header > nav.header__primary-nav.header__primary-nav--center > ul > li:nth-child(1) {
color: red;
}
Ok, it looks like you are the person to talk about changing the color of one menu item on my header. I went through the previous posts and not one is using the Publisher theme. Is this functionality possible on this theme? Would love to change Class of 2025 1/4 Zip to red. Would love your help!!! Thanks!
Yeah, I think so they keep asking same question on the original post and I know every store is different.
Check this one for you.
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:
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:
a[href="/collections/last-call"] {
color: red !important;
}
You have been amazing and sadly I have joined the chat a bit later
Could you please have a look at my website too by any chance? I’ve tried that 4-5 different codes mentioned above but sadly none of them worked for me. Also tried adding !important.
I would like the SALE collection to be colored to #C51E3A in the navigation. FYI I’m using Buddha navigation app if that could be the problem why it’s not working for me.
You have been amazing and sadly I have joined the chat a bit later
Could you please have a look at my website too by any chance? I’ve tried that 4-5 different codes mentioned above but sadly none of them worked for me. Also tried adding !important.
I would like the SALE collection to be colored to #C51E3A in the navigation. FYI I’m using Buddha navigation app if that could be the problem why it’s not working for me.