Search bar in menu: how to hide it?


#1

Hi, I’d like to hide the search bar in the main menu.
But in the menu settings or widget area I’m not able to find the Search item.
How can I do hide it?

Thanks, bye

Valeria


#2

Hi,

Please post a link to your website, so we can check.

Best Regards,
Csaba


#3

Hi, the website is www.hellogreen.it
If you want I created a new admin user to check from backend.
I can send credentials via mail.

Thanks

V.


#4

Hi,

You can hide the search in header ( navigation bar ) with this Custom CSS:

.search-header {
    display: none !important;
}

Add the above CSS to your Child Theme’s style.css or in case you haven’t setup a Child Theme already, then you can also use this plugin to add the CSS to it: https://wordpress.org/plugins/simple-custom-css/ so you will not loose the changes on theme updates.

Please let me know how it works.

Best Regards,
Csaba


#5

Hi Csaba, thanks for the tip about the custom CSS and the code, now the search bar is hidden.
Thanks, bye

V.


#6

Hi,

Great! You’re most welcome! If you need help with anything else, please, feel free to open a new topic.

Have a nice day!

Best Regards,
Csaba