Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Change menu font color on different pages in wordpress

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #148968
    danielc2384
    Participant

    Just wondering how I can change the font color of the links in the menu bar for each page.

    So for Contact us I’d like to have the links in the menu blue and about us pink e.c.t.

    http://www.creativemms.com.au/verve/

    Thanks!!

    edit: would something like this maybe work?

    .postid-10 being the about us page.

    sf-menu ul li a .postid-10 {

    color: #373737;
    

    }

    #149001
    danielc2384
    Participant

    hmm didnt seem to work.

    #149005
    Paulie_D
    Member

    It’s a specific page isn’t it..with a class on the body of .page-id-15.

    So….

    .page-id-15 #sf-menu ul li a {
    color: pink;
    }
    

    should get it done.

    #149010
    danielc2384
    Participant

    Thanks! That seemed to do the trick!

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘CSS’ is closed to new topics and replies.