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.

Check this one.

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#HeaderDrawer-sale {
    color: #ff0000;
}

And Save.

Result:

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

Check all and still dont work, please help me this is my store

https://www.price-check.co/

want change color of SALE, also on phone pls help! thanks in advance

Could you help me for matmazelcanta.com? I want “Yeni Sezon” red color

1 Like

Hi @pricecheckstore

Check this one.

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#HeaderMenu-sale, a#HeaderDrawer-sale {
    color: red;
}

And Save.

Result:

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

Hi @Fevup-Brands

Check this one.

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;
}

and save.

Result:

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

1 Like

Many thanks. But it doesn’t work on me.

You insert theme on the @medi a

Please follow the image where the curly bracket should be.

Check where i transfer the 1 closing bracket. Then Save.

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

1 Like

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!

https://jpiispiritwear.com/

You are excellent. Thank you very much again

Hi @jdawson99

Yeah, I think so :sweat_smile: 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:

a#HeaderMenu-class-of-2025-1-4-zip, a#HeaderDrawer-class-of-2025-1-4-zip {
    color: red;
}

And save.

Result:

Note: I also colored red on the mobile view.

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

1 Like

Did that trick work? Good then. Be careful when adding code; it’s sensitive, just one dot ., and it can ruin everything.

1 Like

You are the best!! Thank you so much! It worked and it looks fantastic!

Your welcome! Happy to help. :blush:

Hi! would you be able to help make my ‘LAST CALL’ Menu Item in my header become the color red?

website - https://chelseacrew.com/

shopify store: the-chelsea-crew

thank you!

Hi @ChelseaCrew

Do you mean in the mobile view?

Check this one.

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;
}

And Save.

Result:

You can take out the code that you add for the desktop. This will show on dekstop and mobile screen.

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

1 Like

thank you so much!!!

Hi @Made4uo-Ribe ,

You have been amazing and sadly I have joined the chat a bit later :grinning_face_with_smiling_eyes:

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.

Thanks for looking into this :slightly_smiling_face:

Hi @Made4uo-Ribe

You have been amazing and sadly I have joined the chat a bit later :grinning_face_with_smiling_eyes:

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.

The website’s URL is this: https://luvpip.com/

Thanks for looking into this :slightly_smiling_face:

Hello @Luvpip

It seems like you already change it,.

Hi can you help me with this, same problem, same theme.

I want to make my On Sale menu in red color

https://diyevolution.com.au/

Thank you