Forums

(Mandingo) How do I change Header Navigation Links to Black? (7 posts)

  1. MK10000
    Member
    Posted 3 years ago #

    I have a white header graphic so the standard white page navigation needs to be changed to black.

    I dont see any reference to these links in the style.css.php file. Clearly somewhere these nav links are designated to be white. But where?

    How do I change this?

  2. ...paul
    Member
    Posted 3 years ago #

    The simplest way is add some css rules to the first text box on the HTML Inserts page. The class controlling links is: .page_item

    The advantage to doing it that way is that it will survive a theme upgrade. Whereas altering the source files would need to be redone every time.

  3. MK10000
    Member
    Posted 3 years ago #

    Can you give please give an example.

    I have tried this as you suggest:

    <style type="text/css"> .page_item {color: #333} </style>

    But the links are still white

  4. ...paul
    Member
    Posted 3 years ago #

    You're nearly there.

    <style type="text/css">
    .page_item a:link, a:visited, a:hover, a:active {color: #333;}
    </style>

    If you want to control one of them seperately, hover for instance, just put it on its own line.

    <style type="text/css">
    .page_item a:link, a:visited, a:active {color: #333;}
    .page_item a:hover {color: #666;}
    </style>

    I did the same as you when I checked it would work to start off with, and just declared the text colour, not the links. But the above should get you going.

  5. MK10000
    Member
    Posted 3 years ago #

    Works perfectly, Thank you for your help.

  6. ...paul
    Member
    Posted 3 years ago #

    You're very welcome.

  7. supernix
    Member
    Posted 2 years ago #

    Hello, I found this post very helpful.

    In addition I would like to ask if it is possible to change the font size.

    Thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags