WordPress.org

Support

Support » Themes and Templates » [Resolved] How do I make Logo clickable?

[Resolved] How do I make Logo clickable?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Take the image back out of your header as a background and set it back in its own div next to the header. Float the image div – left.

    Link the image with <a href="<?php echo get_settings('home'); ?>">

    Margin your header from the left next to your image and reset your h1 and description back to left:10px

    Thank you SO much :o)

    I tried your solution, and it fixed the logo, but it messed up my design a bit.

    But then I added a “height: 125px” to my CSS, and now everything is 100% ok.

    Thanks again! :o)

    For others with similar problems, here are the things I’ve changed:

    I’ve changed the relevant part of the header to this:

    <div id="page">
      <div id="wrapper">
       <div id="logo">
         <img src="/wp-content/themes/i3theme-1-2/images/rob_logo.jpg" />
    </div>
        <div id="header">
          <h1><a href="<?php echo get_settings('home'); ?>"><?php bloginfo('name'); ?></a></h1>
          <div class="description"><?php bloginfo('description'); ?></div>
          <?php include (TEMPLATEPATH . '/searchform.php'); ?>
        </div><!-- /header -->

    And changed stylesheet to this:

    #header {
    	height: 125px;
    	}
    
    #logo {
    	height: 125px;
    	float: left;
    	}

    :o)

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] How do I make Logo clickable?’ is closed to new replies.
Skip to toolbar