WordPress.org

Forums

current navigation link change color (4 posts)

  1. Jeff F.
    Member
    Posted 1 year ago #

    I'm trying to find out how to make it so the active link remains the different color beyond the mouse click. I have found solutions for html sources where each page is different but can't find how to make it work in WordPress.

    http://safecigoutlet.com

  2. WPyogi
    Forum Moderator
    Posted 1 year ago #

    It's really no different in WP - use the "visited" attribute in CSS -

    http://www.w3schools.com/css/css_link.asp

    You can find the CSS for your links by using a tool like Firebug.

  3. Jeff F.
    Member
    Posted 1 year ago #

    I don't want visited though, I want current page.

    One post I found was to use a.active as opposed to a:active-that didn't work. Another said use javascript, a third had a way where again there has to be html code in each page which won't work for general wordpress templates.

  4. WPyogi
    Forum Moderator
    Posted 1 year ago #

    Okay, so do you mean the menu item for the page you are currently on?

Topic Closed

This topic has been closed to new replies.

About this Topic