search icon in header displaying twice

  • search icon in header displaying twice
    Viewing 5 posts - 1 through 5 (of 5 total)

  • heather
    Participant
    #9683

    Hi,

    I used your header builder and have two menu stacked on top of each other. I would like to have the search icon on the top header menu, but not in the main menu. “Add search icon to the menu” is not checked for the main menu, and yet it was showing up. I added this to my child theme:

    .ubermenu-nav > .headerMenuSearch {
        display: none;
    }

    I search icon is no longer visible, however, I can still click on the spot where it would have been and the search box still comes up. (Plus it’s taking up space even though it isn’t visible). How do I get rid of the search icon in my main menu completely?

    Thanks


    heather
    Participant
    #9684
    This reply has been marked as private.

    Bassam Tarek
    Keymaster
    #9685

    Hi,

    Just modify your code to be like this:

    
    .ubermenu-nav > .headerMenuSearch {
        display: none !important;
    }
    

    heather
    Participant
    #9688

    Thanks that fixed it.

    Although, I personally think that if I haven’t asked for the search icon to appear that it shouldn’t be appearing at all. My suggestion is to take a look at that for future updates … but I’m happy with the work around for now.


    Bishoy Melek
    Moderator
    #9696

    Hello Heather,

    I’m happy that It’s done. And Thanks Heather for the enhancement. 🙂

    My Regards,

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

The topic ‘search icon in header displaying twice’ is closed to new replies.