How do I change the colour of one main navigation item using Dawn theme?

How do I change the colour of one main navigation item using Dawn theme?

Eleanor15
Visitor
1 0 1

Hi there, 

 

I want to change the colour of the last menu item here 'branded workwear' but none of the code I've applied seems to be working.

 

https://milaclothing.co.uk/

 

I'm using the Dawn theme.

 

Thanks,

Lucy

Reply 1 (1)

Made4uo-Ribe
Shopify Partner
10038 2387 3014

Hi @Eleanor15 

Try 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:

 

#site-control > div > div.site-control__inline-links > div > div > ul > li:nth-child(4) > a {
    color: red;
}

 

  • And Save. 
  • Result:
  • Made4uoRibe_0-1693841615437.png
  • You can change the color you like. 

 

I hope it help. 

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

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.