Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #200195

    I was wondering how I would remove the search box and the social Icons in the header and replace them with HTML? I want to put our address and phone number there instead?

    Any help would be appreciated!

    #200232

    Hey Steven!

    Please add following code to Quick CSS in Abundance theme options under Styling tab

    #header #searchform, .social_bookmarks { display: none; }

    That will remove social icons and searchbox from header. Then you can go to Appearance > Editor and open Header.php file to insert your HTML code

    Best regards,
    Yigit

    #200316

    Hi Yigit,
    Thank you very much they no longer show!
    I have tried however to put in 4 lines of text but ca not get it to work. Could you tell me where in header.php I should enter the text?
    Sorry to be a pain, but I cant figure this out- not being a coder type :)

    #200332

    Hi!

    You can place it at the bottom of these codes:

    <ul class="social_bookmarks">
    						<?php do_action('avia_add_social_icon','header'); ?>
    
    						<li class='rss'><a href="<?php bloginfo('rss2_url'); ?>">RSS</a></li>
    						<?php
    						if($twitter = avia_get_option('twitter')) echo "<li class='twitter'><a href='http://twitter.com/".$twitter."'>Twitter</a></li>";
    						if($facebook = avia_get_option('facebook')) echo "<li class='facebook'><a href='".$facebook."'>Twitter</a></li>";
    						 ?>
    					</ul>
    					<!-- end social_bookmarks-->

    Best regards,
    Ismael

    #200377

    Worked great!

    Thanks very much :)

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

The topic ‘Replace Search and Social Icons in Herader with HTML’ is closed to new replies.