New Landing How can we help? Themeforest Theme Support Neighborhood Keep Search Open and Usable without clicking on Search Icon

Viewing 4 posts - 1 through 4 (of 4 total)
  • #105008
    dindoft
    Member
    Post count: 24

    Hi,

    I wanted to have the Search field open all the time, instead of having it as a drop down menu once the search icon is clicked. I used the following CSS to do this:

    nav .menu-search ul.sub-menu {
    opacity: 1;
    }
    .menu-search .sub-menu {
    top: 0 !important;
    background-color:transparent !important;
    }
    .menu-search ul li form input {
    margin: 4px;
    }
    nav .menu ul.sub-menu li:first-child:before {
    border: none;
    }

    .ajax-search-results {
    background: #fff;
    }

    The problem I am having is that now, even though the search field stays open, in order to actually write any text in it, the search icon has to be clicked. In other words, only after the search icon is clicked, is the search field enabled to receive any text typing.

    Is there a way to have the search field open all the time, and that anyone can just click ones on the field and start typing instead of having to click on the icon first and then type.

    Thank you

    #105227
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    Add this aditional css code

    
    .header-right nav .menu ul.sub-menu{
    opacity: 1!important;
    -moz-opacity: 1!important;
    filter: alpha(opacity=100)!important;
    pointer-events: all!important;
    }
    

    -Rui

    #105260
    dindoft
    Member
    Post count: 24

    Hi, sorry this code just messed everything up. When I use the additional CSS code you posted, the Newsletter, The wishlist and the shopping cart all stay open at the same time!

    I just need to be able to have the search working as I explained above

    thanks a lot
    D

    #105262
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Was missing one selector.

    try this one:

    
    .header-right nav .menu .menu-search ul.sub-menu{
    opacity: 1!important;
    -moz-opacity: 1!important;
    filter: alpha(opacity=100)!important;
    pointer-events: all!important;
    }

    thanks.

    -Rui

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register