clickable header in default 1.6
-
http://www.aperfectpint.net/blog.php
I am using the kubrick wordpress default theme 1.6 in version 2.5. I have put a logo in the header and turned off the text. Is there some code I can insert to make the header clickable with the text turned off?
-
This should work. Replace the
<div id="header"></div>tag with a<a id="header" href="link"></a>and remove the content inside header, then in the CSS do this:#header { background: #73a0c5 url('images/kubrickheader.jpg') no-repeat bottom center; display: block; margin: 7px 9px 0; height: 192px; width: 740px; }I am clearly doing something wrong. I restored everything, but I really screwed it up when I made the changes. I think it probably has to do with the “remove content inside header” directive. What do you mean by that? What am I removing?
The headerimg or whatever it was called. It should just look like this
... <a id="header" href="link"></a> ...All that does is totally mess up the formatting. So…here’s what it looks like now.
<div id=”header”
onclick=”a.href=”http://www.aperfectpint.net/blog.php;” style=”cursor: pointer;”>
<div id=”headerimg”>
<h1>/”><?php bloginfo(‘name’); ?></h1>
<div class=”description”><?php bloginfo(‘description’); ?></div>
</div>
<div id=”headerimg”>
<h1>/”><?php bloginfo(‘name’); ?></h1>
<div class=”description”><?php bloginfo(‘description’); ?></div>
</div>What should it look like?
<a id="header" href="a.href="http://www.aperfectpint.net/blog.php;"></a>I believe your url should be http://www.aperfectpint.net/blog without the .php on the end.
I’m using Kubrick on the site below…if it works like what you want, then view the source code and look at the way I have the headerimg div formatted.
Okay,so what’s up there now is what happens when I make those changes. As you will see, nearly all the theme formatting goes away. Not only is the header not clickable, it’s not there.
figaro,
I copied and pasted your headerimg div into mine. That brought everything back to normal, but it still isn’t clickable.Download the zip file at the link below and unzip it. There will be a header.php file there. Open it and replace my address with your address…don’t change anything else. Then delete your header.php file and upload this one in its place.
Okay,did that. I still don’t get a clickable header for some reason…
I think it’s broken…:-)
Hummm…okay, well let’s try this. Look at this site and see if it works. If so, then click the link below and download the default.zip file. Unzip it and then delete your default theme and replace it with this one. Note…make sure when you unzip the folder there isn’t a second default directory nested in the first one…if so, just upload the folder containing the theme files.
Tried that. That caused problems with the sizing of the image that I probably could have fixed, but still didn’t make it clickable.
Strange…I’m running out for about 30 minutes, but if you want to post contact info, I’ll contact you when I get back and if you are hosted on a site with Cpanel access, I’ll be happy to take a look at it for you.
michael@aperfectpint.net
Don’t know if I have Cpanel or not.Well, I’m stumped. I uploaded a completely different theme that works on my sites, but still no clickable header on this site.
Sorry, maybe someone else has some ideas.
The topic ‘clickable header in default 1.6’ is closed to new replies.