• Hi,

    I would really appreciate some help with this one. I have added this code into my header.php template to make my header clickable back to my homepage…

    <div id=”art-main” onclick=”location.href=’https://www.bondibeachplaygroups.org.au/&#8217;;” style=”cursor: pointer;”>

    The problem I am having is now the whole page is clicking back to my homepage. Any suggestions?

    Cheers

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator Dion Hulse

    (@dd32)

    Meta Developer

    nice, a non-WordPress site ??

    You’ll need to make sure you’re closing the div properly after the header..

    however, you’d be far better off wraping the <img> in an <a> as such:
    <a href="https://www.bondibeachplaygroups.org.au/"><img ...src="...play..."></a>

    Thread Starter lashbrooke

    (@lashbrooke)

    My site is still in dev, the link however in this code is going to the current live version : )

    Thanks for your response, however, would you mind expanding out the entire link I need to put in, I am not a strong developer so I am not entirely following what code you are suggesting I need to enter in.

    Cheers
    S

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Made header clickable and now whole page clickable’ is closed to new replies.