WordPress.org

Ready to get started?Download WordPress

Forums

Linking my new header logo to homepage (3 posts)

  1. nitch
    Member
    Posted 5 years ago #

    Hi,

    I'm running 2.7 on the Decimus theme and host at nitch.ca.

    I've inserted my logo into the header in place of the typical call to the blog name that wordpress has as standard. Now I'd like to link this image to be a 'home' button.

    I know I need to use this code:
    <a href="<?php echo get_option('home'); ?>

    But everytime I insert it, I end up wrecking my formatting and the link never works. This is the code for my logo. Where do I insert the href?

    #logo h1 {
    	float: left;
    	padding: 0px 182px 0 0;
    	height: 147px;
    	background: url(images/nitch_HeaderLogo.gif) no-repeat 100% ;
    	font-size: 38px;
    	font-weight: normal;
    	letter-spacing: -2px;
    }

    Thank you in advance!

  2. figaro
    Member
    Posted 5 years ago #

    I'm not familiar with your theme, but if it works like the default theme...which it probably does...then see the 3rd (last) video in the following post starting at around 4min 30sec:

    http://educhalk.org/blog/?p=137

  3. nitch
    Member
    Posted 5 years ago #

    Thanks Firgaro!

Topic Closed

This topic has been closed to new replies.

About this Topic