• bryanshipley

    (@bryanshipley)


    I want to delete the black bar under my header with the ‘home’ link in it, as well as that particular ‘search’. (Not delete the search function altogether. I just don’t want it in that spot. I have another in the sidebar using the widget I want to use instead.)

    Mostly I just want to clean up the look of my site by erasing that black bar and its content.

    Can anyone help? Thank you.

Viewing 13 replies - 1 through 13 (of 13 total)
  • enile8

    (@enile8)

    The easiest way would be to edit the header.php file. Once you have it open look for:

    <?php wp_nav_menu( array( 'theme_location' => 'primary' ) ); ?>

    you should be able to find it on line 118, then change it to:

    <?php wp_nav_menu( array( 'theme_location' => 'primary', 'fallback_cb' => 'false' ) ); ?>

    On the menu page set it to nothing (empty) and save it.

    Hope this helps.

    Thread Starter bryanshipley

    (@bryanshipley)

    That got rid of the black bar, thank you!

    However, the ‘search’ is still there. I want to get rid of that ‘search’ and use the widget one I installed on my sidebar.

    Could you help with that as well?

    esmi

    (@esmi)

    Do not edit the Twenty Eleven theme. It is the default WordPress 3.2 theme and having access to an unedited version of the theme is vital when dealing with a range of site issues. Create a child theme for your changes. Once your child theme is active, we should be able to help with the customisation.

    Thread Starter bryanshipley

    (@bryanshipley)

    Too late.

    Can you help me even though I already did it?

    esmi

    (@esmi)

    To edit the Twenty Eleven theme itself? No – for the reasons mentioned above. It’s people like me that then have to help when the default WordPress theme gets screwed up. Just don’t do it.

    Thread Starter bryanshipley

    (@bryanshipley)

    Oopsy. Already had.

    Thread Starter bryanshipley

    (@bryanshipley)

    but don’t worry.

    i always put things back where i found them

    esmi

    (@esmi)

    Then re-upload a fresh copy of Twenty Eleven.
    https://www.ads-software.com/extend/themes/twentyeleven

    Then start work on a child theme.You can even download a pre-made child theme from here

    Thread Starter bryanshipley

    (@bryanshipley)

    the “here” link doesn’t go anywhere

    esmi

    (@esmi)

    Fixed.

    Thread Starter bryanshipley

    (@bryanshipley)

    yeah. i’m not doing that. that’s way too much work. i just wanna fix this one itty bitty thing.

    esmi

    (@esmi)

    You mean just like the other little thing you want to change? The amount of work needed is minimal. Which part of “having access to an unedited version of the theme is vital” don’t you understand?

    Thread Starter bryanshipley

    (@bryanshipley)

    I deleted this:

    [Code moderated as per the Forum Rules. Please use the pastebin]

    and that did it. Thanks though.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘[Theme: Twenty Eleven] Delete black 'Home' bar?’ is closed to new replies.