• Hi, I have a simple question and I hope it’s going to have an easy answer. Well I’m designing a blog that has 5 tabs, each one linking to a different page in the blog. I would like to know if I could change the colour of only one of those tabs, like the tab “Download” in wordpress.org.

    Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • if build with any of the default WordPress functions for menues, these tabs will have individual css classes, which you can use in style.css to add colors.

    use a tool such as Firebug http://getfirebug.com/ to investigate these styles.

    Thread Starter ERWOL

    (@eifbian)

    The problem is that these tabs haven’t different css classes, so when I modify it, all the tabs get the same colour. Do you know what could I do?

    The problem is that these tabs haven’t different css classes

    either edit the code for these tabs, to give them individual css classes;
    or use the ‘nth-child’ css pseudo class http://www.w3schools.com/cssref/sel_nth-child.asp (for modern browsers only)
    or possibly use jQuery (?)

    it might help if you can post a link to your site to get more suggestions.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How can I modify the tabs colour?’ is closed to new replies.