[Support request] align logo and menu on mobile view

Home Forums Support [Support request] align logo and menu on mobile view

Home Forums Support align logo and menu on mobile view

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #787645
    Felix

    Hi,

    it should be in line
    menu

    thx

    #787761
    David
    Staff
    Customer Support

    Hi there,

    the simplest way is to use the Mobile Header in Customizer > Layout > Header –> Mobile Header.

    #787802
    Felix

    hey thanks for the fast reply,

    what should i change there?

    i tried all options – still looks off

    #787803
    David
    Staff
    Customer Support

    This article explains the usage:

    https://docs.generatepress.com/article/mobile-header/

    If selected and a logo added this will be displayed instead of the desktop site header, and the default layout is the logo left and menu right both of which are aligned.

    #787812
    Felix

    still not what i was looking for.

    i want to get the logo a little to the left and downwards that it is on a line with the menu burger icon.

    #787819
    David
    Staff
    Customer Support

    Ok some CSS is interfering – go to the Customizer > Additional CSS and find this ( its below an @media query):

    .site-logo {
        width: 140px;
        margin: 0 auto 32px auto!important;
        display: block;
    }

    and change .site-logo to .site-logo:not(.mobile-header-logo) the code should look like this:

    .site-logo:not(.mobile-header-logo) {
        width: 140px;
        margin: 0 auto 32px auto!important;
        display: block;
    }
    #787828
    Felix

    Thanks David! That worked.

    #787831
    David
    Staff
    Customer Support

    Awesome. Glad to be of help

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