Forums

How to remove search function from header (4 posts)

  1. enjolis
    Member
    Posted 3 years ago #

    I would like to remove the search function from the header. Does anyone have an idea? If you go to http://bubblemusic.com/jonathanbest you will see what I mean. Thank you very much,
    major newbie, Enjolis

  2. TapeBoy929
    Member
    Posted 3 years ago #

    You'll want to edit the file located at /home/bubble/public_html/jonathanbest/wp-content/themes/My_Guitar/header.php. In this file, look for the search function and comment it out. Be sure to save a copy of the file elsewhere in case things go haywire. Good luck.

    [Sig Moderated: Have you noticed yet that every one of your sigs gets deleted? Please, oh PLEASE, stop with the sigs.]

  3. figaro
    Member
    Posted 3 years ago #

    Find the following code in your themes style.css:

    form.searchbar {margin:0;padding:0;float:left;width:243px;padding-right:50px; }

    add display:none; to is so it looks like this:

    form.searchbar {margin:0;padding:0;float:left;width:243px;padding-right:50px; display:none;}
  4. adjustreality
    Member
    Posted 2 years ago #

    that's an awful fix since it just disables it instead of fixing it. I know that's what he asked, but why throw the baby out with the bathwater? just edit the php.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.