Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #771263

    Hi,

    See my private link,

    the search works great on mobile, but now it is also on the desktop

    #771268

    Hey BPC,

    What is the exact issue you are having?

    Best regards,
    Jordan Shannon

    #771270

    See screenshot, open a link on the mobile and the search will be on screen.

    #771312

    Hi,

    You want the search field removed from desktop?

    Best regards,
    Jordan Shannon

    #771320

    you have seen the screenshot ?

    i want the desktop it was before, the searchbutton on the right
    and on the mobile the search in the menu

    #771348

    Hi,

    I added the following to quick css and it seems to have fixed the problem:

    #menu-item-searchbox {
        top: 0px!important;
    }
    
    #menu-item-searchbox.dropdown_ul_available{
    float:right!important;
    }
    
    .responsive .container {
        max-width: 1510px!important;
    }

    Let me know if this works for you

    Best regards,
    Jordan Shannon

    #771351

    No now it is on the right side and breaking everything.

    I just need the normal search icon on the desktop and a search on the mobile

    #771354

    Hi,

    Apologies, I am not understanding what you need. I am not seeing anything broken, so please if you can try and explain a little clearer I will try my best to help.

    Best regards,
    Jordan Shannon

    #771357

    Hi,

    The site appeared broken before I made the updates not after so I am just not understanding.

    Best regards,
    Jordan Shannon

    #771358

    see screenshot, and the link

    #771363

    Ok,

    i used this for functions.php

    add_filter( ‘wp_nav_menu_items’, ‘avia_append_search_nav’, 10, 2 );

    function avia_append_search_nav ( $items, $args )
    {

    if ($args->theme_location == ‘avia’) {
    $search_form = get_search_form(false);
    $items = ‘<li id=”menu-item-searchbox”>’.$search_form.’‘ . $items;
    }
    return $items;
    }

    and this for css

    #menu-item-searchbox form div {
    display: block !important;
    opacity: 1 !important;
    width: auto !important;
    }

    #menu-item-searchbox form div #s {
    width: 300px !important;
    max-width: 300px;
    }

    #menu-item-searchbox {
    top: 25px;
    }

    #top #searchsubmit, .ajax_load {
    right: 0px;
    }

    #771366

    Hi,

    Ok I see. So the above code has fixed your issue?

    Best regards,
    Jordan Shannon

    #771367

    no that i used to get the search on the mobile.
    now i removed it and it is ok again.

    But i need the search function also on mobile.

    #773378

    Hi BPC,

    Please refer to this thread for a possible solution of adding search to mobile.

    If you need further assistance please let us know.

    Best regards,
    Victoria

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