[Resolved] My menu jumps? Odd question

Home Forums Support [Resolved] My menu jumps? Odd question

Home Forums Support My menu jumps? Odd question

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #278783
    carlmumford

    Hi guys, I love GeneratePress, I can see me using it a lot for my sites.

    Visit

    sam

    *
    divine
    *
    fan

    dotcom

    (Hopefully doesn’t get indexed well haha)

    If you click on one of the menu items does it sort of jump as you click it? It expands? Is there some extra padding being applied there from somewhere on click?

    Anyone replicate it and help me out? Thanks!

    Keep up the good work.

    Carl

    #278784
    Tom
    Lead Developer
    Lead Developer

    You have this CSS:

    .wolf-show-action a:hover, a:active {
        background-color: #7d72ad;
        padding: 10px;
        color: #fff;
    }

    That a:active is applying to every single link on the site, giving it 10px of extra padding.

    I think your CSS should look like this:

    .wolf-show-action a:hover, .wolf-show-action a:active {
        background-color: #7d72ad;
        padding: 10px;
        color: #fff;
    }
    #278786
    carlmumford

    Just about to say I found padding on active.

    That’s solved the issue, thanks! ๐Ÿ™‚

    #278825
    Tom
    Lead Developer
    Lead Developer

    You’re welcome ๐Ÿ™‚

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.