removing search bar and "go" button from header

  • Unknown's avatar

    Hi, all:

    I’m working with the Chateau theme and I can’t figure out how to get rid of the search bar in the header. I bought the upgrade, but I’m not that
    familiar with CSS, so I’m not sure what command to enter or where to enter it. I checked the forums and found that someone else was having the same problem (different theme) and the answer was to use the following: .header-nav-search-container {
    display: none;
    }

    Problem is, where do you use that and how? And will it get rid of the ‘Go’ button, too? Thanks, everybody.

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    Hello,
    Click the Customize navigation to go to the Customizer page. On the left side you’ll see a section named CSS. Click that to reveal more. Paste the CSS code below anything that is already in the box.

    I suggest using the code provided by designsimply in this thread because the CSS can vary from theme to theme: https://en.forums.wordpress.com/topic/remove-searchbox?replies=2#post-701180

    When you’re done with that, click the Save & Publish button.

  • Unknown's avatar

    THANKS! I’m going to give this a try and see what happens. Appreciate it!

  • Unknown's avatar

    WOO HOOO! It worked! Thanks!

  • The topic ‘removing search bar and "go" button from header’ is closed to new replies.