WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When twentyeleven theme gets too small, the search bar that was in the nav bar is moved up into the header image. My question is, where is this behavior handled in the theme? I would like to modify it slightly to fit better with my child class.

share|improve this question
Any progress? Was my answer helpful? Do you still miss something? – toscho Oct 6 '12 at 22:43

The search field – #s – is floated to the right side, so the following content just moves down when the site is small enough. There are some adjustments to its position in @media blocks at the end of the stylesheet. For example this:

@media (max-width: 650px) {
    /* other stuff */
    /* Make sure the logo and search form don't collide */
    #branding #searchform {
        top: 1.625em !important;
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.