Can someone help me with the CSS to change the header menu text color? I have done an inspect on the menu and have located the class and ID, but not sure how to form the correct CSS. Have attached a screenshot of the inspect results.
Class is “site-nav list–inline site-nav–centered” and ID is “SiteNav”.
I assume that I put the CSS at the end of theme.css?
@LanceAllison
Sorry you are facing this issue, it would be my pleasure to help you.
Welcome to the Shopify community! 
Thanks for your good question.
Please share your site URL,
I will check out the issue and provide you a solution here.
Thanks. The site is;
https://scenties-store.myshopify.com/
and the password is “lance”
1 Like
@LanceAllison
try this code
- Go to Online Store->Theme->Edit code
- Asset->/theme.css or theme.scss ->paste below code at the bottom of the file.
.site-nav__label {color: #0294c9;}
.site-nav__link--active .site-nav__label {border-bottom-color: #0294c9;}
Hello Ketan,
I want to alter just one word in the navbar. For instance, I only want to change one of the five options in the navbar in order to highlight it. Is that possible?
Here is the link for the theme I’m using, Motion: https://themes.shopify.com/themes/motion/styles/classic?architecture%5B%5D=os2&reviews_page=2&surface_detail=motion&surface_inter_position=1&surface_intra_position=1&surface_type=search#Reviews
1 Like
@Aphelion
please share your store url
1 Like
@KetanKumar thank you for your reply.
here you go: https://lb.mikesport.com/
1 Like
Thanks can you please let me know which signal work nav color change
1 Like
The fitness equipment will be first removed from the navbar before New Arrival is added. and the new arrival is what I want to highlight.
I want to give it an orange highlight, or perhaps we can make the text orange.
I’m not exactly sure what we can do, but all I want is for it to be highlighted in the navbar.
1 Like
@Aphelion
yes, please update navbar so i will give you proper code
1 Like
@KetanKumar Okay done now. Please check it
1 Like
@Aphelion
great Thanks please add this code
- Go to Online Store->Theme->Edit code
- Asset->/theme.css ->paste below code at the bottom of the file.
.site-nav__link[href="/collections/new-in"] { color: #ec6c31;}
1 Like
@KetanKumar
It didn’t work when I tried it. any other options?
@KetanKumar Are you still available to assist?
1 Like
@Aphelion
sorry i can’t see code where did you added this?
@KetanKumar I added the code to the bottom of the file theme.css.liquid.
1 Like
yes but you have add wrong place
can you move code like this
1 Like
@KetanKumar Thank you, it’s working now on a desktop computer, but not on a phone.
1 Like
@Aphelion
yes, please add this code also
.mobile-nav__link[href="/collections/new-in"] {color: #ec6c31 !important;}
1 Like
@KetanKumar Thank you a lot. I do have one more query. Possibly adding a border. for instance, what if the border was orange and the text inside was white. is it doable?
1 Like