Make hover stay?

  • Anonymous

    #22709

    Oh! Man! It’s dead easy,

    Try this,

    #menu-item-900.current-menu-item a {
    background: url(images/svartutantextlogo.png) center no-repeat !important;
    }

    GrafenGruppen

    #22710

    I’ve tested that already and it is in my code. (look at the pastebin)

    What I want to do is following:

    http://imageshack.us/f/560/helpnavbar.png/

    The bottom pic is when Im visiting another page but hovering the “frontpage”. I want to make so that hover state stays there while showing the frontpage. Currently it is showing the top pic on current state.

    Mod

    Kenneth John Odle

    #22711

    Well, we’re getting closer, at any rate. I’m not sure, but try using whatever code you are using for your hover state for your other states.

    Anonymous

    #22712

    2nd time edited reply:

    Try this again,

    #menu-item-900.current-menu-item a {
    background: url(images/svartutantextlogo.png) center no-repeat !important;
    }

    You haven’t added a in your css for current-menu-item

    First time edited reply:

    My bad! I didn’t see the code carefully..

    GrafenGruppen

    #22713

    It didnt make any difference, I got this guide from a guy.

    http://www.designisphilosophy.com/tutorials/highlight-current-page-or-category/

    I dont actually understand it, would be great if someone helped me (from that guide) make the code so it solves my problem. So far, do I understand that it have to be with the code “current-menu”.

    GrafenGruppen

    #22714

    OMG! Now when I deleted the code to return to start (cause I wanted to start over with the coding) so it seems that the code stayed there :S

    I want to remove it now, but can’t find how its stucked.

    Is it someone that wants to have a conversation on e.g skype chat? I want to solve this, it has been buging me for a long time now. Got panic, and its really disturbing.. Dont have any patience anymore.

    Would be very grateful!

    GrafenGruppen

    #22715

    This code solved the problem:

    #menu-item-900.current-menu-item.menu-item-home a {

Viewing 7 posts - 11 through 17 (of 17 total)

  • 1
  • 2
  • You must be logged in to reply to this topic.