Change color of a button on Menu using supply theme

Hello,

I’m trying to change a Clearance button on the menu to red collor.

My theme is supply. my URL is txaquatic.com.

Can anyone please show me what code I can use and look like the only place I can put the code in is header.liquid

Thanks in advange

1 Like

Hey @texasaquallc

Follow these Steps:

  1. Go to Online Store

  2. Edit Code

  3. Find theme.liquid file

  4. Add the following code in the bottom of the file above tag


RESULT:

If I managed to help you then, don’t forget to Like it and Mark it as Solution!

Best Regards,
Moeed

1 Like

Thanks so much, it work on the desktop but still green on the mobile. do you can you please help me with code to make it turn red on the mobile as well. Please

1 Like

Hey @texasaquallc

Keep the previous code and add this new code above in the end of theme.liquid file.

a.mobile-nav--link[href="/collections/clearance"] {
    color: red !important;
}

RESULT:

If I managed to help you then, don’t forget to Like it and Mark it as Solution!

Best Regards,
Moeed

1 Like