The code:
<?php $heading_tag = ( is_home() || is_front_page() ) ? 'h1' : 'div'; ?>
<<?php echo $heading_tag; ?> class="site-title">
<a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home">
<img alt="Name" src="YOUR FILE HERE">
</a>
</<?php echo $heading_tag; ?>>
<div class="site-description"><?php bloginfo( 'description' ); ?>
</div>
Join the Discussion
Write something…
queenredgie
Premium
Hi I have been trying to find an answer to my problem which is how to change the background color on the Header of the heirs theme and even Support has not been able to help? This is the problem I am having? I have tried filling the whole header with my logo but get this?
JoelWilson1
Premium
Ran across your training this evening and found it very helpful.
I do have a couple of problems though. First - after inserting my custom header - when the site is viewed - the "auto header" wit the site name is still there. How do I remove that?
Second, I don't have any quality photo/image creating or editing software. I used MS PowerPoint to create the custom header. I made the text white and I filled the background black...but.. when the site is viewed the text comes out a shade of blue and the background field of the image is white.
Any suggestions?
Thanks
Joel
I do have a couple of problems though. First - after inserting my custom header - when the site is viewed - the "auto header" wit the site name is still there. How do I remove that?
Second, I don't have any quality photo/image creating or editing software. I used MS PowerPoint to create the custom header. I made the text white and I filled the background black...but.. when the site is viewed the text comes out a shade of blue and the background field of the image is white.
Any suggestions?
Thanks
Joel
HelenpDoyle
Premium
Stu, a tutorial I can really use so bookmarked it for tomorrow. Went to check out your profile. Good stuff. Do you have a website (I presume so).