[Resolved] Mobile Header Height

Home Forums Support [Resolved] Mobile Header Height

Home Forums Support Mobile Header Height

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1045764
    Lucy

    Hello GeneratePress team

    Apologies as I have spent too many hours trying to resolve this and it feels like I keep making it worse!

    I would like the logo and menu to be on the same line in the header without too much space – I have tried uploading a smaller logo, adjusting the height and nothing seems to work.

    Your advice would be much appreciated!

    #1045767
    Lucy

    UPDATE – I may have improved it but it still has extra white padding at the bottom that doesn’t appear in the Sticky Menu. Any advice on this would be much appreciated

    #1046077
    David
    Staff
    Customer Support

    Hi there,

    are you using the Mobile Header:

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

    If so the logo and the menus height is defined by the Menu Item height set in in the Primary Navigation – you can set it separately for Mobile by selecting the Mobile responsive view.

    #1046080
    David
    Staff
    Customer Support

    Try setting the menu toggle line-height to match your icons eg.

    #mobile-header .menu-toggle {
    	line-height: 37px;
    }
    #1046103
    Lucy

    Hi David

    Thank you so much for your time.

    Yes I am using the Mobile Header – it still doesnt remove the padding and space below and seems to have now doubled.

    I also used this as found on that page you shared but it doesn’t make a difference

    .site-logo.mobile-header-logo img {
    padding: 0;
    }

    I tried the below but it only moved the menu out of line with the logo and I want to keep them n line.

    #mobile-header .menu-toggle {
    line-height: px;
    }

    #1046107
    Lucy

    Ignore I think I have solved it, there was padding on my top section on the pages and when I remove it seems to now have fixed the issue!

    Thank you for your help!

    #1046124
    David
    Staff
    Customer Support

    Glad to hear you got it resolved.

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