Shopify themes, liquid, logos, and UX
Hello,
I need help for CSS coding on Studio Theme -> I would like to change the text color of only one of my main navigation menu to highlight it.
The "Sale" navigation menu should appear in RED rather than black for both Mobile and Desktop
I tried to quibble with the code but nothing to do, the color does not change. I'm having trouble identifying my menu or placing my code incorrectly on my CSS stylesheet.
Website - https://tabeerhomes.com
Theme - Impact
Solved! Go to the solution
This is an accepted solution.
Hi @Sauravb
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/sale"] {
color: red;
}
And Save.
Result:
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
This is an accepted solution.
Hi @Sauravb
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/sale"] {
color: red;
}
And Save.
Result:
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Thank you so much!
Hello, I am trying to do the same and change the color of my Swim Category to Pink. I was able to change the sale menu item on my website to red, but when i do the same with the swim dropdown menu it does not change it. My website is vixafashion.com.
Thanks
Hi @vixaclay
Check this one. Same instruction.
summary#HeaderMenu-swim {
color: pink;
}
And save.
Result:
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
That worked for desktop! Is there a way to make it pink for mobile as well?
Yep, sure. Same Instruction.
summary#HeaderDrawer-swim {
color: pink;
}
And Save.
Result:
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Hi ! I am trying to do the same but it doesn't work for me :
- I don't have base.css, style.css or theme.css files. Can it be main.css ?
- The name of the main navigation tab I want in red is called "VENTES PRIVÉES"
Thank you !!
Laure
Theme : Symmetry
Hi @lauregp
Thank you for reaching out it seem that you already solved the problem.
Hey Made4uo-Ribe trying to do the same on my webside, but want to put it BOLD and Red.
www.moreamor.cl
Theme: Flex
Hi @YiyoMizon
Thank you for reaching out, try this one.
.header__menu-items label[for="mega-sale"] a,
.mobile-menu__content label[for="mobile-submenu-sale"] a {
color: red !important;
font-weight: bold;
}
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
i tried to copy it but it isnt working for me . could you help plz
website bonomar.com
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025