Okay
  Public Ticket #186133
How do I remove search from the header
Closed

Comments

  • James started the conversation

    Hi, I want to completely remove the search form from the header as my client doesn't want it. How do I do this?

  •  8,838
    Tahir replied

    Hey!

    Add this into the Custom CSS box located in your Salient Options panel:

    
    #mobile-menu #mobile-search, header#top nav ul #search-btn {
       display: none!important;
    }
     
    

    Cheers


    ThemeNectar Support Team 

  • James replied

    Hey! Thanks for the fast reply, excellent. I have added the code and is has worked but it did show 2 warnings as below. Are these okay?

    "Element (header#top) is overqualified, just use #top without element name."

    and

    "Use of !important"

  • ivana replied

    Thank you :) this helped me too!

  • James replied

    Can you confirm that the following errors that appeared when I added the custom css are okay...

    "Element (header#top) is overqualified, just use #top without element name."

    and

    "Use of !important"

  •  8,838
    Tahir replied

    Hey!

    Yes they are alright. 

    Cheers


    ThemeNectar Support Team 

  • ivana replied

    I had those errors but i removed search from the header so works well