Forums

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

Home Forums CSS WP CSS nav:active

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #29286
    hoss9009
    Member

    I found a horizontal, linear nav bar that I want to use that’s ALL CSS.
    Also, I’d love to integrate WP’s nav classes and ids into it.

    My biggest challenge… the ACTIVE STATE OF THE SUB NAV!!!

    Here’s a link to the demo:http://www.lwis.net/free-css-drop-down-menu/dropdown.simple.linear.html

    My question is, how do I have the sub nav stay "open" when on a sub-page? I know wp automatically throws in a class for the current page, but how do I style it so that way it does this?

    #77542
    hoss9009
    Member

    WOW!
    Thanks man… I’ll give it a whirl and I WILL reply to let you know if it worked.

    #77667
    noahgelman
    Participant

    Would this work too?

    Code:
    body.contact #nav li.contact {
    display:block;
    }

    O do you have to use visibility?

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