Hi How can I add a phone number and address on the header instead of the search, I took out the search

Hi How can I add a phone number and address on the header instead of the search, I took out the search
Open the header.php from theme's root and look for this code:
<?php
$show_search = get_option('of_show_search');
if ( $show_search == "yes" ) { get_search_form();}
?>
Instead of this code, or just after it(you can chose to delete it because you don't want to use the search form in the top of the theme anymore) paste this code:
<div class="phone-number">
Phone: 5234366453645
</div>
Obviously, this would be your phone number. Then open style.css from theme's root and at the end of it paste this code:
.phone-number {
width:240px;
position:absolute;
top:30px;
right:0;
text-align:right;
}
You might want to insert additional text formatting for your phone number in this class, like font weight, font size, etc.
Try this and let us know the results.
it works great
thanks
You must log in to post.