Change The Color Of A Single Main Menu Item

Hi, I am trying to do the same for my store on Desktop and Mobile, but have my menu item “boosted sale” in red as oppose to blue like every other one. My theme is Pipeline and my store URL is www.boostedkicksau.com

Thank you very much!

1 Like

Hi @Larchi22

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.navlink.navlink--toplevel[href="/collections/black-friday-sale"][data-top-link], a.sliderow__title[href="/collections/black-friday-sale"]
 {
    color: red;
}

And Save.

Result:

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

1 Like

Hi i wold like write WEEKLY SALE in red in my shop menu can you help me please

https://ballistic-sport.com/

Thank you

Hi @Made4uo-Ribe ,

I tried all the options above, but looks like I have a different code in my theme :disappointed_face:

My site: www.nort.si and I would also like to color SALE wording in main menu both on desktop as on mobile into red (if possible color #A30C13).

Thank you!!!

1 Like

Its okay, check this one then.

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.navigation__link[href*="/collections/sale"] {
    color: #A30C13;
}

And Save.

Result:

Made4uoRibe_0-1710355312183.png

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

1 Like

Works like magic! Thank you!

Only issue I see now is that first item on the left in the drop down menu is also colored now?

Hello Made4uo.

I’am having a bit of trouble also, Would you mind checking on my site?

https://guldklippet-se.myshopify.com/

Thanks in advance,
Simon.

Hi @Made4uo-Ribe , I updated theme today to the latest version and now going into code editor I have none of the files you are mentioning (base.css, style.css or theme.css), so no idea where to add the code :slightly_smiling_face:

Thanks!

Gasper

Hello Made4uo.

I’am having a bit of trouble also, Would you mind checking on my site?

https://guldklippet-se.myshopify.com/

Thanks in advance,
Simon.

1 Like

Hi,

I am having the same issue with my site Maison49.com

any help is appreciated. Thank you

Hi!

I triet the solutions above but none worked for me so far!

My theme is SENSE.

i want to make this https://naturalhellenia.com/collections/special-offers red

Thank you!

1 Like

Hi,

Is your problem solve? if not then please share the updated URL store. Thanks!

Which navigation word you like to change color?

is this solve?

Hello,

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-sales span {
    color: red !important;
}

And Save.

Result:

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

1 Like

Yes that worked!

I inserted the code in Custom CSS.

Thank you!

1 Like

Welcome!

1 Like

Do you happen to know how can i add an icon on that menu item?

And how to make it red also in mobile version?

Thank you :slightly_smiling_face:

All Products – North Shore Kicks
Having difficulty changing the Sale colour to red in the drawer menu. Would you be able to assist? It’s using the spotlight theme.

1 Like

To add and icon you need to insert code to the liquid file. Youll need a developer to do it. Seems liek you already colored red on mobile.