[Support request] Mobile header display

Home Forums Support [Support request] Mobile header display

Home Forums Support Mobile header display

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1325789
    Geoff

    Hello,

    I’ve used this CSS in the past to display a mobile header image larger:

    #mobile-header .site-logo {
    margin-left: auto;
    margin-right: auto;
    }

    .mobile-header-logo #mobile-header .menu-toggle {
    width: 100%;
    }

    .mobile-header-navigation .site-logo.mobile-header-logo img {
    height: auto;
    }

    This time around, the hamburger menu isn’t below the logo and the whole square logo isn’t displaying. I’ve deleted the cache and remove extra themes in case there’s a conflict. No luck.

    Thank you,

    Geoff

    #1325851
    Leo
    Staff
    Customer Support

    Hi there,

    Not sure if I fully understand.

    What is the result you are trying to achieve?

    Logo on top and menu toggle below it?

    #1326181
    Geoff

    Yes, like these two examples with the same template and css —

    Header example 1

    Header example 2

    #1326549
    Leo
    Staff
    Customer Support

    Wouldn’t that just be the default header?
    https://docs.generatepress.com/article/mobile-header/

    Can you try turning off the mobile header?

    #1326682
    Geoff

    As is the case with the examples I sent, it’s a different image for mobile. Here’s what it looks like with the mobile header turned off:

    mobile header example 3

    #1326766
    Leo
    Staff
    Customer Support

    Ok so basically you want to use a different logo on mobile without the mobile header layout?

    That case can you first remove the previous CSS you’ve added and increase the menu item height on mobile a bit?
    https://docs.generatepress.com/article/menu-item-height-width/

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