[Support request] Submenu on mobile phones isnt displayed

Home Forums Support [Support request] Submenu on mobile phones isnt displayed

Home Forums Support Submenu on mobile phones isnt displayed

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #354396
    Silko

    Hi there,

    i have the following problem:

    For the desktop version I display the submenu on the right top corner http://prntscr.com/fzwz6f (nice feature by the way) But on mobile phones I cant use the sub menu: http://prntscr.com/fzwzii

    If I change it to “unter main navigation” it looks fine on mobile phones but also changes the display for the desktop version. Is it possible to have different options for desktop / mobile display for the sub menu?

    Domain: https://www.thailernen.net

    Please help!

    #354408
    Leo
    Staff
    Customer Support

    Hi there,

    Are you wanting to show the secondary navigation on mobile as well?

    If so then try disabling the mobile header: https://docs.generatepress.com/article/mobile-header/

    #357333
    Silko

    Hi Leo,

    thank you! Yes I want to show the secondary navigation on mobile also. Disabling the mobile header works but it looks not so good.

    An option to change the position from the submenu on mobile devices would be nice.

    #357371
    Tom
    Lead Developer
    Lead Developer

    If you enable the mobile header, try adding this CSS as well:

    @media (max-width: 768px) {
        #masthead {
            display: block;
        }
    
        .inside-header {
            padding: 0;
        }
    
        .site-logo {
            display: none;
        }
    }
    #359508
    Silko

    Thank you Tom, looks much better now. 🙂

    What do I have to add here

    .site-logo {
    display: none;
    }

    if I want to show the logo between sub and main menu but centered?

    #359559
    Tom
    Lead Developer
    Lead Developer

    Try replacing it with this:

    .site-logo {
        text-align: center;
        display: block;
    }
Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.