Remove search box and fill menu

  • Author
  • #667396


    I’m using the Twenty Eleven theme for my blog site at: (its hosted on 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 {

    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:

    The blog I need help with is


    This should do it for you.

    #branding .only-search + #access div {
    padding-right: 0;


    Perfect, thanks. I had been looking in the menu section, didn’t think that the search box format would affect it


    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.

The topic ‘Remove search box and fill menu’ is closed to new replies.