WordPress.org

Support

Support » Themes and Templates » Twenty Eleven » Removing Search Form from Static Page

Removing Search Form from Static Page

  • Hello all… Can someone tell me how to remove the search form from a static page in the Twenty Eleven theme? I thought I found the code in the header.php file but when I remove it the page gets wonky. Thank you kindly!

Viewing 3 replies - 1 through 3 (of 3 total)
  • I’m having the same issue, I think. I want to remove the Search box from all my pages so as to prevent the page menus from wrapping. Have you found a good solution for this yet?

    Sorry but I forgot exactly what I did to resolve this. I believe I removed it and altered the CSS to accommodate. Later in the week I will have a look at the code and see what I can tell you.

    binaryanomaly

    @binaryanomaly

    Create a child theme and put that in your style.css:
    /* Search Form */
    #branding #searchform { display: none; }

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Removing Search Form from Static Page’ is closed to new replies.
Skip to toolbar