WordPress.org

Ready to get started?Download WordPress

Forums

Need help with adding logo and making it clickable. (4 posts)

  1. hens00
    Member
    Posted 5 years ago #

    Hi

    Im trying to replace the default logo at my site here with my own image logo, which is clickable to the homepage.

    Can someone help? I have tried messing around and removing and adding bits of code, but I can seem to get it right.

    This is from the header:

    </form>
    </div>
    <h1 id="logo">"><?php bloginfo('name'); ?> <span><?php bloginfo('description'); ?></span></h1>
    <ul id="menu">
    <li<?php if(is_home()) echo ' class="current_page_item"' ?>>/">Home
    <?php wp_list_pages('title_li='); ?>

    </div><!-- end #header -->

    <div id="container">
    <div id="content">

    This is from the stylesheet:

    /* Header
    -----------------------------------------------------------------------------*/
    #header {
    height: 117px;
    border-bottom: 3px solid #EAEAEA;
    margin-bottom: 28px;
    }
    #top{
    float: right;
    text-align: right;
    }
    #top li {
    display: inline;
    }
    #top a {
    color: #808080;
    margin: 0 0 0 13px;
    background: url(i/toparrow.gif) center left no-repeat;
    padding: 0 0 0 12px;
    font-size: 1.2em;
    }
    #top .current_page_item a {
    background-image: url(i/toparrow2.gif);
    }

  2. myinstinctwaswrong
    Member
    Posted 5 years ago #

    what are the dimensions of the image you want to use?

  3. hens00
    Member
    Posted 5 years ago #

    Logo size is 281 x 94 pixels.

    First I have tried removing from the header php:

    <h1 id="logo">"><?php bloginfo('name'); ?> <span><?php bloginfo('description'); ?></span></h1>

    This removes the default text logo, but seems to cause a shift in the header? I guess this is not correct.

  4. Josh Leuze
    Member
    Posted 5 years ago #

    hens00, I would recommend reading through this page in the documentation, it should tell you everything you need to know.

Topic Closed

This topic has been closed to new replies.

About this Topic