WordPress.org

Support

Support » Installation » clickable header

clickable header

  • I followed the instuctions on both this site and the kubrick site to get my header clickable, so now the header is clickable but the alignment of the page is off and I have a thin line at the top. All my custom images are the exact same dimension as the original template, the only thing I did that I think is cousing this is that I added some values to get rid of the weblog title only thing is I don’t remember where I did it.

    Any clues?

    http://subroyal.com/wp/

    V

Viewing 4 replies - 1 through 4 (of 4 total)
  • You have the word “to” in your code here and you have two divs id’d as header (You can’t have two id’s the same.) –

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

    That’s either going to be in your header.php file or very near the top of your main file ( the index.php in the theme folder). Delete the <div id="header"> to and you should be good.

    Or you could simply use <div id=”header”><img src=”/images/header.jpg” /></div>

    obviously filling in your own values.

    I suppose, but just deleting what doesn’t belong seems like a lot less work than deleting and rewriting.

    Thanks I should have seen that, so I deleted the (<div id=”header”> to) however now the page is off in the middle any clues, so so close, but lovin it.

    V

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘clickable header’ is closed to new replies.
Skip to toolbar