Removing the search form from the Twenty-Eleven Header
-
When the title is removed (and header remains) from the Twenty-Eleven Theme the search form is automatically added to the navigation bar. How do I alter this and remove the search form all-together?
– Mike
The blog I need help with is: (visible only to logged in users)
-
Just in case this re-positioning may suit you see here > https://en.forums.wordpress.com/topic/how-to-move-search-box?replies=5
-
I would recommend also taking away the right padding from inside the navigation bar if you’re going to hide the search box from there.
#branding #searchform { display:none; } #branding .only-search + #access div { padding-right: 0px; } -
Thanks you panaghiotisadam & designsimply. These alterations met my desire perfectly! Thank you both.
-
-
When I tried
#branding #searchform {
display:none;
}It didn’t work until I removed
#brandingI’m a newbie and curious, can anyone tell me why?
-
- The topic ‘Removing the search form from the Twenty-Eleven Header’ is closed to new replies.