maybe try the search option next time
this was posted only a short time ago:
http://wordpress.org/support/topic/157079?replies=3
Hey maxaud, I did search for a long time, not sure why I didnt find that, many thanks, that cures the text to image issue but now how to make it link to something other than the blog home ?
RAT
you should find something like this in your header where you added the image code:
<a href="<?php echo get_option('home'); ?>/"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/picture.jpg" alt="<?php bloginfo('description'); ?>" /></a>
replace the following:
<?php echo get_option('home'); ?>/
with something like:
http://www.yourdomain.com
Let me know how that goes.
Hey maxaud, I just kept playing with it until I just now got it to work and came back to here to post my results and walla, you have the answer already here for me !!
You all are the best and I want to thank you so much for your amazing help. The various themes have slightly different codes in these files but I am learning. For anyone out there that needs this fix here is what I changed:
original code for my theme(jd-nebula 3c-10):
<div id=”header” onclick=”location.href='<?php echo get_settings(‘home’); ?>’;” style=”cursor: pointer;”>
<h1>“><?php bloginfo(‘name’); ?></h1>
</div>
Changed to:
<div id=”header” onclick=”location.href='<?php echo get_settings(‘home’); ?>’;” style=”cursor: pointer;”>
<h1>“><img src=”<?php bloginfo(‘stylesheet_directory’); ?>/images/logo.png” alt=”trailstealth.com” /></h1>
</div>
Now working like a charm !!!! MANY THANKS maxaud !!!!!!
Now to tweak the css to get the image a little higher.
RAT
Sorry that didn’t come out right, let me try again:
original code:
<div id="header" onclick="location.href='<?php echo get_settings('home'); ?>';" style="cursor: pointer;">
<h1><a href="<?php echo get_settings('home'); ?>"><?php bloginfo('name'); ?></a></h1>
</div>
changed to:
<div id="header" onclick="location.href='<?php echo get_settings('home'); ?>';" style="cursor: pointer;">
<h1><a href="http://trailstealth.com"<?php echo get_settings('home'); ?>"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/logo.png" alt="trailstealth.com" /></a></h1>
</div>
RAT
On further investigation it seems that code still left the entire header (not just the logo.png show up as a link that went to home or nowhere, to remove the cursor/link from the entire header where only the logo.png image is a link I did the following (as I could not figure out how to make the entire header area link to the url,, lol) :
<div id="header" onclick="location.href="http://trailstealth.com">
<h1><a href="http://trailstealth.com"<img src="<?php bloginfo('stylesheet_directory'); ?>/images/logo.png" alt="trailstealth.com" /></a></h1>
</div>