Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #6771

    Ref: Newscast

    I would like to remove the search box from the header.

    I have been unable to find where this can be done.

    TIA

    Ritch

    #55395

    Hey,

    in your header.php find

    <?php get_search_form(); ?>

    You can remove this line.

    #55396

    Thanks. Happy now.

    I had really meant the whole block but your pointer set me on the correct path and I found the relevant code.

    Cheers,

    Ritch

    #55397

    Glad that Chris could help you :)

    #55398

    Hey guys, when i tried to remove the code line, i get a message error. get_search_form(); ?>

    #55399

    Try to remove:

    get_search_form();

    only and leave <?php and/or ?>

    #55400

    thanks

    #55401

    Glad that Chris could help you :)

    #55402

    I’m trying to do the same thing, but I tried making this change on the abundance theme and for some reason the social icons didn’t move to the right. The icons are just floating in the middle of the header as if the search bar was still there. Any idea why?

    Thanks in advance.

    #55403

    Hi!

    You can reposition the icons with following code:

    #header .social_bookmarks{
    right: 0;
    }

    I’d add the code to css/custom.css or the quick css field.

    Regards,

    Peter

Viewing 10 posts - 1 through 10 (of 10 total)

The topic ‘How do I remove Search Box from Header’ is closed to new replies.