If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
How can I remove the search bar in the top right corner and replace is with a phone number?
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.
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.
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
<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.
Hope this helps.
The topic ‘Remove search bar in top right corner – BROADSCOPE’ is closed to new replies.