Header Link in 2.8.4
-
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’;”>
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)
Viewing 1 replies (of 1 total)
- The topic ‘Header Link in 2.8.4’ is closed to new replies.