Tagged: ,

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #10680

    Hello,

    How can I remove the search bar in the top right corner and replace is with a phone number?

    Thanks!

    #68960

    In your header.php look for get_search_form();.

    Replace it with <div id=”phone”>YOUR NUMBER HERE</div>. You may have to edit the custom.css to style your phone number.

    For future reference just put double forward slash in get_search_form(); to make it a comment then place the div.

    #68961

    Thanks, Where in the custom.css should I put this and how? I just want it to be centered and range right like the search button.

    #68962

    Hi ameliaamelia,

    Just for clarification, you’ll add <div id="phone">YOUR NUMBER HERE</div> to your header.php underneath get_search_form();. So it would look something like this:

    /*
    * display the theme search form
    * the tempalte file that is called is searchform.php in case you want to edit it
    */
    // get_search_form();
    ?>
    <div id="phone">YOUR NUMBER HERE</div>

    To style your phone number, you would place your CSS in the custom.css. You can place your code anywhere in that file and it will work. This should get you started.

    #phone {
    color: #777777;
    position: absolute;
    right: 0;
    top: 35px;
    width: 200px;
    text-align: center;
    }

    Hope this helps.

    Regards,

    Mya

    #68963

    Thank you so much!!

    #68964

    Hey!

    You’re welcome!

    Best regards,

    Mya

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

The topic ‘Remove search bar in top right corner – BROADSCOPE’ is closed to new replies.