• I’m building a website and opted for the Headlines Theme but I don’t like the Categories and Search Box in my header – can I hide them? If so, how?

Viewing 10 replies - 1 through 10 (of 10 total)
  • If you post a link to your site, someone will be able to tell you.

    If this is the theme you’re talking about: https://headlinesdemo.wordpress.com/ as opposed to the WooThemes Headlines Theme, then you need to go to your header file and locate the following:

    <div id=”cat-nav”>

    Below this you will see <div class=”col-full”>

    This area contains the categories and search bar. If you wish to remove them just delete the following:

    <ul id”secnav” class=fl sf-js-enabled sf-shadow”>
    <div id=”search” class=”fr”>

    That should take care of it.

    If you want to get rid of that entire area of white space remove just above that where it says <div id=”cat-nav”> (don’t forget to remove the </div> following it).

    Hope this helps.

    Thread Starter whitneyclapper

    (@whitneyclapper)

    Hi there – thanks for the suggestions, I should have clarified that I’m talking about the Headlines WooTheme and here is a link to my website:
    https://sideoftheroadsessions.com/

    Thank you and please let me know if you have any other suggestions!

    Take care!

    Well, I don’t see a search box in your header so I’m assuming you found that and removed it?

    To get rid of the category section:

    1 – if you want to get rid of the entire white bar remove the <div id=”cat-nav”> and anything between it until the </div>

    2 – if you want to keep the white bar but get rid of just the categories, remove the section that looks like <ul id=”secnav”> and the stuff in between until the (it will be located below the div from #1

    Hope this isn’t too confusing in the way I explained it.

    I just realized that these are the exact same directions I gave before, however, I think it’ll work just the same being I went directly to your site and that’s what I saw.

    Thread Starter whitneyclapper

    (@whitneyclapper)

    Okay, I just screwed something up — I didn’t see the end </div> code that you mentioned on the header php files for Headlines Woothemes, so I decided to play around = bad idea.

    I took this section out to see what it would do and now I can’t figure out where to put it back in:
    <div id=”cat-nav”>
    <div class=”col-full”>
    <?php
    if ( function_exists(‘has_nav_menu’) && has_nav_menu(‘secondary-menu’) ) {
    wp_nav_menu( array( ‘depth’ => 6, ‘sort_column’ => ‘menu_order’, ‘container’ => ‘ul’, ‘menu_id’ => ‘secnav’, ‘menu_class’ => ‘fl’, ‘theme_location’ => ‘secondary-menu’ ) );
    } else {
    ?>
    <ul id=”secnav” class=”fl”>

    HELP!?!

    Thread Starter whitneyclapper

    (@whitneyclapper)

    ps – my site doesn’t pull up at all anymore: https://sideoftheroadsessions.com/

    Thread Starter whitneyclapper

    (@whitneyclapper)

    pps — here is what my header php looks like now:

    [ please use pastebin ]

    Moderator cubecolour

    (@numeeja)

    You should ask this question on the woothemes support forum as you are using one of their commercial themes and support is included in your purchase.

    Best thing to do, besides what cubecolour suggested, is to re-download the theme and just upload your header.php file to start over.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘How to Hide/Delete Categories Search Box from header on Headlines Theme’ is closed to new replies.