Unlink Header Image?
-
Greetings! I would like to unlink the header image on my site–that is, I do not want it to be “clickable”. Can somebody please tell me how to do this? Thank you. My site is: BurstingPlethora.com and I’m using the Suffusion theme. Thanks again.
-
Suffusion has its own (very good) support forum:
Why is it every time I post here somebody has to mention that! I know Suffusion has a support forum! In my experience, it’s not “Very Good” which is why I’m posting here. This is the a support forum after all! I use wordpress and am entitled to post in it!
[Content moderated. One ! at a time is quite enough, thank you.]
Edit the php file of your theme that calls the img and remove the a href.
I use jquery to do things like this, but then I default to jquery for pretty much everything.
http://stackoverflow.com/questions/970388/jquery-disable-a-link
You can also use css to change the cursor when it hovers over it.
.whatever_your_image_class_is img
{
cursor: default;
}Thank you. I’m using a child theme for Suffusion. What do I need to do to do what you are suggesting?
@andrew my image is: http://www.burstingplethora.com/wp-content/uploads/2012/06/990.png
Do I have to put the entire link in your CSS instructions or just the “990.png” part?
1. Suffusion is an extremely complex theme/framework and any general advice you receive here would probably do more damage than good.
2. The theme usually has excellent support. In fact, some of the best theme support that I’ve ever seen.
3. If you want good advice, ask an expert. In this case, the expert is the theme’s developer and he has his own forum.
@”Theme Diva” No comment.
Swanson’s advice is much more layman friendly. The image is likely being called in header.php.
My entire header.php is below. I cannot find the href. Am I missing something? Addtionally, I’m using a child theme for Suffusion. So, how would I accomplish my goal with that in mind:
[Code moderated as per the Forum Rules. The maximum number of lines of code that you can post in these forums is ten lines. Please use the pastebin]
If you have a header.php in your child theme, it will override the header.php in the parent theme.
Try reposting in pastebin and I’ll take a look. There may also be an option in the theme management area of your admin section to make the change you want.
In your <head> tag insert the following jQuery code.
<script type="text/javascript"> $jq = jQuery.noConflict(); $jq(document).ready(function() { $jq('#logo').unwrap('#link'); }); </script>Where: #logo is the id for your logo image, #link is the id for the wrapping link.
Used jQuery to get the result without editing the header.php
Sorry, Tirumal, but where exactly do I find the <head> tag? I’m a little confused. Can I just copy/paste the above jQuery code into my child theme? Thank you.
Sorry, Tirumal, but where exactly do I find the <head> tag? I’m a little confused. Can I just copy/paste the above jQuery code into my child theme? Thank you.
@andrew no there is no option in the theme management area. Here is the link to the header.php in pastebin:
The topic ‘Unlink Header Image?’ is closed to new replies.