Viewing 13 replies - 16 through 28 (of 28 total)
  • Thread Starter hopeworks

    (@hopeworks)

    is that the exact code?

    Thread Starter hopeworks

    (@hopeworks)

    ‘<div id=”header”>
    <div id=header “cursor: pointer;” onclick=”location.href=’https://www.hopeworks.us/'”&gt;
    </div>’

    this is what i got. no cursor though

    I should have known… *g*

    No, it belongs in your style.css … You’ll find:

    #header {
    	background-color: #73a0c5;
    	}

    Modify that to:

    #header {
    	background-color: #73a0c5;
    	cursor: pointer;
    	}

    Thread Starter hopeworks

    (@hopeworks)

    didnt work. this is my css

    #header {
    	background-color: #73a0c5;
            cursor: pointer;
    	}

    and this is my header.php

    <div id="header">
    	<div id=header onclick="location.href='https://www.hopeworks.us/'">
    	</div>

    any other suggestions. thaks

    *sigh* Why two header-divs? Just…

    <div id="header" onclick="location.href='https://www.hopeworks.us/'">
    </div>
    Thread Starter hopeworks

    (@hopeworks)

    huh? the header.php works fine. the header clicks and links to homepage (hopeworks.us) I now just need the cursor to recognize the link, that is why I tried your cursor code in the css as you said. But it did not work.

    Would you please just try to replace these two div with the one I posted? Do it for me ??

    I have the same problem, my header.php is:

    <div id="page">
    <div id="headerimg" onclick="location.href='https://www.soydeoeste.com.ar'">
    </div>

    And style.css

    #header {
    	background-color: #000000;
    	cursor: pointer;
    	}

    The cursor don’t recognize it as a link, thanks.

    I have the same problem, my header.php is:

    <div id="page">
    <div id="headerimg" onclick="location.href='https://www.soydeoeste.com.ar'">
    </div>

    And style.css

    #header {
    	background-color: #000000;
    	cursor: pointer;
    	}

    The cursor don’t recognize it as a link, thanks.

    —–

    My title image is the personalheader.jpg, when i quit de <div id=”headerimg” and put it as <div id=”header” the background recognize the cursor, but there’s no more image ??

    Check it at https://www.soydeoeste.com.ar/

    I wouldnt use the onclick, it will break RSS for your blog, or it can.

    Something like this works ?? at least for me
    <div id=”header”>
    <div class=”top”>
    <img src=”logo.gif” alt=”image” border=”0″ />
    </div>
    </div>

    if you make logo.gif an blank gif 1 pixel X 1 pixel, you can then change the width and height to overlay another logo or graphic and make it clickable, just add the width/height to the img tag.

    of course my css tells the browser where header and top appear on the blog so you need to also edit your css..

    good luck

    Thank you, Sivar, and iscifi. I’ve gone with Sivar’s solution for now (because it’s simple enough for me to implement — and it worked!) but may try iscifi’s when I pick up some more coding skill.

    Got exactly the same problem.

    Found your inputs useful.

    Modified the css to add the pointer.

    Finally changed the header.php. Had to get rid of the blog description and replace it by a space.

    Code looks like this:

    <div id=”page”>

    <div id=”header” onclick=”location.href=’https://www.cooperatique.com/'”&gt;
    <div id=”headerimg”>

    <div class=”description”> </div>
    </div>
    </div>
    <hr />

    I know my div look strange and don’t ask me why there is <hr /> in the end.

    But at least it works enough for me, till I install the new WP version.

    It took some filtering out of the chitchat back and forth, but I got my header link change to work on the first try. Awesome!
    That’s at https://www.whiteveilstudios.com/wordpress

    Thank you!!!

Viewing 13 replies - 16 through 28 (of 28 total)
  • The topic ‘Please help- Header Link- have tried everything’ is closed to new replies.