• To do this I just moved the link in what was originally the title, and made it encompass the whole tag, like so
    <div id="header"><a href="<?php echo get_settings('home'); ?>">
    <div id="headerimg">
    <h1><div align="left"><font size="+9" color="white">
    </font></div></h1>
    <div class=”description”><?php witty (); ?></div>
    </div>
    </div>

    It works perfectly in firefox, but in IE it is the most ridiculous looking link I've ever seen (well.. one of), in that it underlines the text when you put your cursor over the background picture and doesn't change the curser to a pointy hand..
    so i made a new class for the witty text to be in, and styled it like so:
    .wiseass a, .wiseass a:hover {
    color: black
    text-decoration: none;
    } `
    (in an effort to get rid of the hover underlinging) but it didn’t make a lick of difference.

    clearly I am not really sure what the heck I am doing, but if anyone can help that would be awesome.. and my template alterations will be successful and complete!

Viewing 9 replies - 1 through 9 (of 9 total)
  • Moderator James Huff

    (@macmanx)

    These are the instructions for making the header clickable (as a link), from Kubrick’s developer:

    Open [header.php]. Change [line 55], from <div id="header"> to <div id="header" onclick="location.href='https://siteaddress/';" style="cursor: pointer;"></div> . This will make the entire header a link.

    https://binarybonsai.com/kubrick

    Thread Starter Skeary

    (@skeary)

    well that was pretty easy, thanks!
    that’s javascript or something, though right?

    I get weirded out when links don’t tell me where they’re going to. Is there an easy way of changing that?

    Moderator James Huff

    (@macmanx)

    Hm, that I’m not sure of. Try this:

    <div id="header" alt="https://siteaddress/" title="https://siteaddress/" onclick="location.href='https://siteaddress/';" style="cursor: pointer;"></div>

    Thread Starter Skeary

    (@skeary)

    that worked well enough.. it doesn’t put it in the status bar, but the tool tip is nice to sort of ease the mind. danke ??

    “Open [header.php]. Change [line 55], from <div id=”header”> to <div id=”header” onclick=”location.href=’https://siteaddress/&#8217;;” style=”cursor: pointer;”></div>”

    I also followed these directions from the Bonsai site too, but the problem with my page is that it makes the entire header a link, but it pushes my entries out of the table and jacks up the layout. Any ideas about what this is happening?

    haha, hole this happen to me too when i followed macmanx’s instruction “totally”

    you should only type the following:

    <div id="header"> to <div id="header" onclick="location.href='https://siteaddress/';" style="cursor: pointer;">

    Same problem here.
    I typed;
    <div id=”header” onclick=”location.href=’https://www.nederland4045.nl/blog/&#8217;;” style=”cursor: pointer;”>
    <h1>“><?php bloginfo(‘name’); ?></h1>
    <div class=”description”><?php bloginfo(‘description’); ?></div>
    </div>
    </div>

    And now it messes up the rest of the page!

    Help!

    Ive been trying all day but cant get the header to function as a link!
    Right now the header html says;

    <div id=”header” onclick=”location.href=’https://www.nederland4045.nl/blog/&#8217;;” style=”cursor: pointer;”>
    <h1>”><?php bloginfo(‘name’); ?></h1>
    <div class=”description”><?php bloginfo(‘description’); ?></div>
    </div>
    </div>

    It works but messes everything else up, any tips?

    problem solved, after a lot of searching I found someone who could explain it in a way that worked;
    https://www.ads-software.com/support/topic/24403#post-260017

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘whole kubrick header as link, messed up in IE’ is closed to new replies.