Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #608112

    Hi there!
    We tried to add the search bar to the mobile menu according to
    https://kriesi.at/support/topic/search-widget-only-in-mobile-view/#post-517247
    The search icon appears, but it doesn’t work by hovering / clicking it.
    Would you please have a look at our ‘Edit Functions’ and the ‘Quick CSS’?
    Thanks and best regards
    Bernd

    #608656

    Hey profil77!

    Thank you for using Enfold.

    The icon jumps on mouse hover. It’s because of the following code:

    .html_header_top.html_bottom_nav_header #top .main_menu ul:first-child>li:hover {
        z-index: 1000;
        position: relative;
    }

    In order to fix it, add this code:

    .html_header_top.html_bottom_nav_header #top .main_menu ul:first-child>#menu-item-search:hover {
        position: absolute;
    }

    Regards,
    Ismael

    #608755

    Hi Ismael!
    Great, thanks. We added the code to the ‘max 767-area’ of Quick CSS (is that right?) and everything works fine.
    Would you please have a look at ‘Edit Functions’: Is the declaration of ‘$search’ okay and do we have to modify something, when we will get the real menu-items – at the moment we work with custom menu items.
    Thanks a lot and best regards
    Bernd

    #609273

    Hey!

    What do you mean by custom menu items? Did you set the menu as Enfold Main Menu?

    Best regards,
    Ismael

    #609423

    Hi Ismael!
    At the moment we created a few #-links as menu items for the main menu.
    The solution in https://kriesi.at/support/topic/search-widget-only-in-mobile-view/#post-517247 works with page-links as menu items – so ‘$search’ contains classes like page_item, page-item-18 or current_page_item.
    Best regards
    Bernd

    • This reply was modified 8 years, 7 months ago by profil77.
    #609960

    Hey!

    I see. Please remove the current-menu-item and current_page_item class attribute.

    Cheers!
    Ismael

    #610099

    Thanks a lot, Ismael, the mobile search is working fine.
    The best solution would be to add an ENFOLD-theme-option for a mobile serach ;)
    Best regards
    Bernd

    #610134

    Hey!

    Glad it worked :) and thank you for your feedback. Please feel free to request such feature here – https://kriesi.at/support/enfold-feature-requests/
    And if there are features that you wish Enfold had, you can request them and vote the requested ones here – https://kriesi.at/support/enfold-feature-requests/

    Best regards,
    Vinay

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