• this seems like such a simple theme-based option but i dont see it anywhere. There is a search widget, but its not added to any header/sidebars, so theres nothing to remove.

    I am using the ‘no sidebars’ (not full width) layout option.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The easiest way to do that is by using “display: none;” in the CSS code for that element(s). I know you’re on localhost (so I can’t look at your site specifically), but I looked at the demo for the theme and it looks like this CSS should work:

    #header #searchform {
        display: none;
    }

    Then you’ll probably want to add this as well to fix the margin on the right side of the remaining social icons:

    #social-media-icons {
        margin-right: 3.4%;
    }

    @wpyogi – I added

    #header #searchform {
        display: none;
    }

    at NBR Canada website and it removed the search bar. But, when I removed the above code, search bar doesn’t re-appear.

    Do you know why? Thanks in advance.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Looks like it has been added into header.php as well, looks hard-coded in.

    you can just delete the widget..

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘how to remove the search bar from the header?’ is closed to new replies.