[Resolved] Mobile Menu Adjustments

Home Forums Support [Resolved] Mobile Menu Adjustments

Home Forums Support Mobile Menu Adjustments

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #609397
    Robert

    I’d like to accomplish two things on my mobile navigation menu.

    1. Adjust the menu item height independent of the site header. Right now, changing the menu height also changes the site header.

    2. Move the Navigation Search within the mobile menu.

    Thanks!

    #609461
    Leo
    Staff
    Customer Support

    Hi there,

    1. This should help: https://generatepress.com/forums/topic/menu-item-width/#post-596935

    2. Don’t think it’s possible but will check with Tom πŸ™‚

    #609488
    Tom
    Lead Developer
    Lead Developer

    Give this a shot:

    .main-navigation.toggled .menu li.search-item {
        display: block !important;
    }
    
    .toggled .navigation-search,
    .toggled .navigation-search input {
        height: 85px;
        bottom: 0;
        top: auto;
    }
    
    #mobile-header span.search-item {
        display: none;
    }
    #609737
    Robert

    Thank you both!

    #609987
    Tom
    Lead Developer
    Lead Developer

    Glad we could help πŸ™‚

    #610208
    Robert

    Sorry I was premature in closing this. I’m still unable to get the first issue working – adjust the menu item height independent of the site header. Right now, changing the menu height also changes the site header.

    I added the CSS indicated in but changing the menu item height still affects both the menu height and the site header.

    Not sure what I’m doing wrong.

    #610229
    Leo
    Staff
    Customer Support

    Hmm the code should work.

    Can you turn off autopitmize so I can see the source?

    #610250
    Robert

    Hi Leo,

    Sorry for the confusion. It’s working. I got thrown by expecting Customizer to show me the change on the fly. It didn’t. But once I published the change and viewed the site again, it came up correctly. Thank you for your patience.

    #610316
    Leo
    Staff
    Customer Support

    No problem πŸ™‚

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