Custom Header. Option image behind text.
-
I have gotten so far as to have my customer header show image OR/AND text but I just can’t figure out how to put image behind text!
Any help would be SO appreciated!!
https://veterinarymarketingsolutions.ca/VMSsite1/I know somehow my functions are wrong. When I add, my image disappears altogether. So I stopped here.
<header id=”masthead” class=”site-header” role=”banner”>
<?php if ( get_header_image() ) : ?>
<div class=”header-image”>
” rel=”home”>
<img src=”<?php header_image(); ?>” width=”<?php echo esc_attr( get_custom_header()->width ); ?>” height=”<?php echo esc_attr( get_custom_header()->height ); ?>” alt=””>
</div>
<?php endif; // End header image check. ?><div class=”site-branding”>
<div class=”title-box”>
<h1 class=”site-title”>” rel=”home”><?php bloginfo( ‘name’ ); ?></h1>
<h2 class=”site-description”><?php bloginfo( ‘description’ ); ?></h2>
</div>
</div><!– .site-branding –>
- The topic ‘Custom Header. Option image behind text.’ is closed to new replies.