[Resolved] Menu Alignment

Home Forums Support [Resolved] Menu Alignment

Home Forums Support Menu Alignment

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #219345
    Andy

    Hi Tom,

    Sorry to bother you with such a basic question. I’m testing different menu positions for a site i’m building here: http://tinyurl.com/zrtj257

    With the menu floated to the right I thought GP always aligned the menu vertically central with the logo by default, however its currently positioned at the top of the logo. I know I could just add some top margin with CSS to the menu, but am I missing an obvious setting in the customizer that would centralize it vertically with the logo?.

    Cheers,

    Andy

    #219370
    Leo
    Staff
    Customer Support

    Hi Andy,

    Unfortunately I don’t think there is a setting in the customizer that does that. I remember someone else asked a similar question and Tom did it with some simple CSS ๐Ÿ™‚

    #219408
    Tom
    Lead Developer
    Lead Developer

    Unfortunately there’s no CSS that exists (besides Flexbox, which is still kind of buggy) that can achieve this.

    Your best bet is CSS targeted to desktops only:

    @media (min-width: 769px) {
        .main-navigation {
            margin-top: 20px;
        }
    }
    #219525
    Andy

    Thanks Tom, had to make it margin-top: 50px; to get it central.

    Keep up the excellent work!!

    #219576
    Tom
    Lead Developer
    Lead Developer

    You’re welcome ๐Ÿ™‚

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