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

    Hey people,

    I’d like to have the search visible on mobile as well. I’ve tried a few solutions here from the forum, e.g. https://kriesi.at/support/topic/search-box-in-mobile-responsive-menu – but I’m pretty sure things have changed with Enfold 3+ so I can’t seem to get anything to work. Could you please assist?

    Many thanks

    #344181

    Hi osckarl!

    Please add following code to Quick CSS

    @media only screen and (max-width: 767px) {
    .responsive #header .main_menu ul, .main_menu, #header_main_alternate {
    display: block;
    }
    #top #menu-item-search {
    display: block;
    margin-top: -90px;
    }
    .av-main-nav > li { display: none; }}

    Regards,
    Yigit

    #345539

    Didn’t look awesome I’m afraid Yigit, the entire menu was visible and positions were off. Any other ideas?

    #346497

    Hey!

    Menu items should be hidden. Replace the code with this:

    @media only screen and (max-width: 767px) {
    #top #menu-item-search {
    display: block;
    position: absolute;
    right: 120px;
    margin-top: -80px;
    }
    
    .responsive #header .main_menu ul, .main_menu, #header_main_alternate {
    display: block;
    }
    
    .av-main-nav > li { display: none; }
    }

    Best regards,
    Ismael

    #347692

    Hi again,
    Same problem still, this is the result with the above code:
    https://www.dropbox.com/s/ashkmpzy9pac0lc/IMG_7344.PNG?dl=0

    #348130

    Hi!

    I’m sorry but it works well on our installation. Please give us admin rights, we’ll add it for you.

    Regards,
    Ismael

    #348814
    This reply has been marked as private.
    #349262

    Hey!

    You can check the site now. The search icon is added beside the mobile menu toggle.

    Regards,
    Ismael

    #353080

    Thanks! Please close this.

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘Search in hamburger-menu (top) on mobile only’ is closed to new replies.