goodlookin1
Forum Replies Created
-
Hi Matuzalem,
I am pretty sure that the designer of this theme did not intend to have the logo inserted into the Background. If you put it into the Header like intended, I believe it automatically links it to your homepage by default.
This is not to say that what you want could not be done, but you would likely need to open up the Background PHP file and wrap a link code around the logo image so that when it is inserted, it will also become a link.
I’m not 100% on this, but just trying to give you some direction. Maybe someone smarter than I can confirm (or deny and correct me) on this.
Like I said, just enough to be dangerous 😀
Thanks again.
Thank you so much! That did it. I did have to search for a little bit trying to find the piece of PHP code that actually creates the code you said to change out….Looked like this:
<?php $header_image = get_header_image();
if ( ! empty( $header_image ) ) : ?>
“><img src=”<?php echo esc_url( $header_image ); ?>” class=”header-image” width=”<?php echo get_custom_header()->width; ?>” height=”<?php echo get_custom_header()->height; ?>” alt=”” />
<?php endif; ?>But this generates the HTML to be exactly what you mentioned:
<img src=”http://www.firearmreviews.net/wp-content/uploads/2013/05/cropped-logo1.png” class=”header-image” width=”450″ height=”67″ alt=”” />
Simply moving it after the “columns nine” div class solved it. Appears to be a bug in the code….not sure why others arent having the same problem? Oh well, I digress. Thanks again!