• So, the codes below work… but it makes the entire page a link.

    <div id=”header” role=”banner” onclick=”location.href='<?php echo get_option(‘home’); ?>/’;” style=”cursor: pointer;”>

    —For people that want to link to another page—

    <div id=”header” role=”banner” onclick=”location.href=’https://www.merchaholic.ca&#8217;;”>

    There must be an easy fix so it just works on the header image…
    I took the style cursor out of the second one only because it takes over the entire page since all the background links you back to whatever you put lol.

Viewing 1 replies (of 1 total)
  • but it makes the entire page a link

    Only if you’re missing an </div> in your template file’s markup.

Viewing 1 replies (of 1 total)
  • The topic ‘Header Link in 2.8.4’ is closed to new replies.