El04 Posted February 8 Posted February 8 Hi, Can someone help me? I am trying to change the individual dotes/separators to have different colors in the nav bar. I've attached a screenshot of what it currently looks like. All the dotes are red at the moment, I want them to be red, blue, and yellow, so it's alternating. Current Code: /* add dotes on menu bar */ .header-nav-item a:after { content: " • "; color: #EB212B !important; } .header-nav-item:last-child a:after { content: ''; }
Web_Solutions Posted February 9 Posted February 9 16 hours ago, El04 said: Hi, Can someone help me? I am trying to change the individual dotes/separators to have different colors in the nav bar. I've attached a screenshot of what it currently looks like. All the dotes are red at the moment, I want them to be red, blue, and yellow, so it's alternating. Current Code: /* add dotes on menu bar */ .header-nav-item a:after { content: " • "; color: #EB212B !important; } .header-nav-item:last-child a:after { content: ''; } Can you share the website URL? If my comments are useful, please like and mark my solution as answer. It will encourage me. Thanks MD Rofik Website Designer and Digital Marketer ☕Am I helpful? Want to offer me a coffee? ✉ Send me a message if needed any help. I'll try to reply as soon as possible.
El04 Posted February 9 Author Posted February 9 (edited) Hi, Yes its - guitar-ruby-k9mb.squarespace.com Pass - Batman2024@ I would also like to replicate this for the footer nav bar links, please. Thank you Edited February 9 by El04 More info
tuanphan Posted February 11 Posted February 11 On 2/9/2024 at 11:27 PM, El04 said: Hi, Yes its - guitar-ruby-k9mb.squarespace.com Pass - Batman2024@ I would also like to replicate this for the footer nav bar links, please. Thank you Use CSS code like this nav>div:nth-child(1) a:after { color: #f1f !important; } nav>div:nth-child(2) a:after { color: #fff !important; } nav>div:nth-child(3) a:after { color: red !important; } nav>div:nth-child(4) a:after { color: blue !important; } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment