WordPress.org

Support

Support » Themes and Templates » Please help- Header Link- have tried everything

Please help- Header Link- have tried everything

Viewing 15 replies - 1 through 15 (of 28 total)
  • Do us a favor and repost teh code that you used here but place it within backticks. That’s the key above the tab key and to the left of the ‘1’ key on a standard pc keyboard.

    That way we can see your code.

    thanks,
    -drmike

    <div id="header">
    	<div id="headerimg">
    		<h1><a href="<?php echo get_settings('home'); ?>/"><?php bloginfo('name'); ?></a></h1>
    		<div class="description"><?php bloginfo('description'); ?></div>
    	</div>

    change <a href="<?php echo get_settings('home'); ?>/"><?php bloginfo('name'); ?></a> for <a href="http://www.hopeworks.us/">Your link title</a>

    it now looks like this

    <div id="header">
    	<div id="headerimg">
    		<h1><a href="http://www.hopeworks.us/">Your link title</a></h1>
    		<div class="description"><?php bloginfo('description'); ?></div>
    	</div>

    will it happen immediately? it didnt. i deleted cache

    i might be retarded. should “your link title” be the name of hopeworks.us in blogroll?

    yes

    should it happen immediatetly?

    <div id="header">
    	<div id="headerimg">
    		<h1><a href="http://www.hopeworks.us/">Home Page</a></h1>
    		<div class="description"><?php bloginfo('description'); ?></div>
    	</div>

    hello?

    what should happen immediately?

    the link to my homepage (www.hopeworks.us) is not working through the custom header on my blog (www.hopeworks.us/blog) I followed the steps above and it did not work.

    In my links section in dashboard I have two categories: blogroll and links. My links are all under the category “links”. http://www.hopeworks.us is named “Home Page”. I followed the steps you said to do and it does not work

    aha now I see whee you come from, you have set the headerimage element to display:none and the image is
    actually the background of the header element.
    the <h1> is not visible or clickable.
    try this for your header:

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

    i tried it and it worked but it screwed with the look of the theme.

    alright i got it to work. the header clicks everything looks good. thank you.

    one more thing though, the mouse cursor does not give the “hand” so it doesn’t look like it will click. can i do anything?

    Apply cursor: pointer; to #header.

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