• Resolved mkgago

    (@mkgago)


    Two things I’d like to do (using default Kubrick template in WP 1.5):

    1. Make my custom header image a link to the home page

    Right now, in header.php I have this line:
    #headerimg { background: url(‘<?php bloginfo(‘stylesheet_directory’); ?>/images/personalheader.gif’) no-repeat top;}

    How do I make that image into a link? (I don’t know if this is what is screwing me up, but I set the display: none for these lines later in header.php:

    <div id=”header”>
    <div id=”headerimg”>
    <h1 class=”invisible”>“><?php bloginfo(‘name’); ?></h1>
    <div class=”invisible”><?php bloginfo(‘description’); ?></div>
    </div>

    2. How can I make the sidebar appear not just on the home page, but on permalink, category, and archive pages?

    Thanks very much in advance for the help.

Viewing 3 replies - 16 through 18 (of 18 total)
  • forget all that i just wrote a post and now all my formatting is gone. but not in my pages.

    It should be:
    <div id=”headerimg”onclick=”location.href=’https://your site/'” title=”Return to Homepage!” style=”cursor: pointer;”>

    Otherwise your site will not be Valid XHTML 1.0 Transitional site,

    take away ; between it, then it′s ok!

    moonaker007

    (@moonaker007)

    How would I do it if the code is:

    <div id=”blogtitle”>
    <h1>“><?php bloginfo(‘name’); ?></h1>
    <p class=”description”><?php bloginfo(‘description’); ?></p>
    </div>

Viewing 3 replies - 16 through 18 (of 18 total)
  • The topic ‘Header Image Link and Sidebar Issues’ is closed to new replies.