How to remove search from menu

  • Unknown's avatar

    I’m trying to remove the search from the right side of menu via instructions I found in this forum. This is for a client site. not my own. I’m using the 2011 theme.

    in the header.php I commented out both of these.

    <!– <?php get_search_form(); ?> –>

    <!– <?php get_search_form(); ?> –>

    This removed the visible search but the space is still taken up.

    I then edited these lines in styles.css file:

    #branding #searchform {
    display: none;
    }

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

    The space where search was is still there.

    I have been refreshing my browser and also removing cache each time.

    What else can I try?

  • Unknown's avatar

    We provide support here only for WordPress.COM hosted blogs that have the paid custom design upgrade. We do not provide support for WordPress.ORG software installs. Read the differences here please http://en.support.wordpress.com/com-vs-org/

    I’m sorry but we cannot provide accurate answers to any blogger who fails to provide the exact URL starting with http:// for the exact blog they refer to so we can verify where it is hosted. Please do that now.

  • Unknown's avatar

    Hi there, there is a support forum for self-hosted users of Twenty Eleven at WordPress.org.

    I would check the menu CSS though. It could be that the menu has a width setting less than 100%, or has a right padding or margin.

  • The topic ‘How to remove search from menu’ is closed to new replies.