Coloured navigation titles

This topic is: Resolved

This is a PRIVATE forum for verified users only, to view the replies/answers, you must be logged in!

This topic contains 4 replies, has 2 voices, and was last updated by  davdmathews 2 years, 2 months ago.

  • Author
    Posts
  • #4724

    davdmathews
    Member
    Post count: 22

    Is it possible with CSS to colour the links in the navigation bar with the section they lead to

    So for example, on my site the category tag for News is red. Can I colour the News title in the navigation bar red – and then do this with each title and their corresponding category colour.

    Thank you in advance! Love the theme and the support so far has been amazing.

  • #4748

    Max
    Staff
    Post count: 3150

    Hey there, You must be logged in to view this reply!

    Login | Register | Forgot Password?

  • #4800

    davdmathews
    Member
    Post count: 22

    Hi Maxxi thank you for your response and for the support. I tried your code and it does work but I think I did a bad job of explaining what I was looking for.

    Your code changes the colour of the list items to match the category colour but what I’m actually trying to do is change the colour of the menu item itself to match the category colour.

    So in the example below, I would like to change the menu item Flux in the navigation bar to match the turquoise colour of the category it represents. I hope that explains things a bit better.

    Attachment One

  • #4806

    Max
    Staff
    Post count: 3150

    Hey there, You must be logged in to view this reply!

    Login | Register | Forgot Password?

  • #4815

    davdmathews
    Member
    Post count: 22

    Exactly what I wanted, thank you so much!

You must be logged in to reply to this topic.

This is a PRIVATE forum for verified users only, to view the replies/answers, you must be logged in!