WordPress.org

Ready to get started?Download WordPress

Forums

current navigation link change color (4 posts)

  1. jefferytodd
    Member
    Posted 11 months 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
    Volunteer Moderator
    Posted 11 months 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. jefferytodd
    Member
    Posted 11 months 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
    Volunteer Moderator
    Posted 11 months ago #

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

Reply

You must log in to post.

About this Topic