How to hide Search Icon from main menu?

Posted in: Newsmag
Post count: 23

How can I hide the Search icon from the main menu bar (which is shown on the right side of the main menu)?

Or, alternatively, how can I show Google Custom search in place of the above Search icon? I am already using a WordPress plugin for Google Custom search but it is shown as a widget at a different place. I want to show Google Custom Search in place of the default Search icon in main menu bar.

  • This topic was modified 9 years by tilakmarg.
Post count: 23312

Hello tilakmarg,

If you want to remove the search icon from the main menu section, you should use the code below and place it in Theme panel->Custom CSS area.

.td-icon-search{
display:none!important;
}

Also, if you want to add the Google Custom Search at your theme, you should follow the next topic here -> https://forum.tagdiv.com/topic/how-to-create-a-google-custom-search-page/ -> http://www.getcooltricks.com/wordpress/google-cse-integration-to-newspaper-wordpress-theme/

Thanks for your understanding!

Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newsmag’ is closed to new topics and replies.