Need help? Check out our Support site, then


Remove search box and fill menu

  1. I'm using the Twenty Eleven theme for my blog site at: beachief.com (its hosted on wordpress.com). The theme originally had a search box imbeded in the top menu bar, but I got rid of it in my CSS editor with:

    #branding #searchform {
    display:none;
    }

    As you can see, there is a big hole there. How can I get my menu items to fill the width of the bar without dropping down to a new line? The original stylesheet for Twenty Eleven is located here: https://s-ssl.wordpress.com/wp-content/themes/pub/twentyeleven/style.css?m=1311868844g&minify=false

    The blog I need help with is beachief.com.

  2. This should do it for you.

    #branding .only-search + #access div {
    padding-right: 0;
    }
  3. Perfect, thanks. I had been looking in the menu section, didn't think that the search box format would affect it

  4. You are welcome. They had just set a high right padding for the menu so that the menu did not run over the search box. Taking it back to zero recovers all that space.

Topic Closed

This topic has been closed to new replies.

About this Topic