WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Header/Logo Image linking to the homepage (4 posts)

  1. julee82
    Member
    Posted 3 years ago #

    I added a logo image on the header, but now I am having a hard time making it link to the homepage.

    Please help.
    This is how my style sheet looks like right now:

    /*
    Theme Name: aav1
    Theme URI: http://aaron.collectedvisuals.com/
    Description: Very minimal grid-style theme
    Version: 1.1
    Tags: black, white, green,two-columns, right-sidebar, fixed-width
    Author: Aaron Adams
    Date: April 2009

    The CSS, XHTML and design is released under GPL:
    http://www.gnu.org/copyleft/gpl.html

    */
    a {
    text-decoration: none;
    color:#bdb9b2;

    }

    a:active {
    text-decoration: none;
    color: #dbb82e;
    }

    a:visited {
    text-decoration: none;
    color:#99968f;
    }

    a:hover {
    text-decoration: none;
    color: #dbb82e;
    }

    a img {
    border: none;
    }

    acronym, abbr {

    }

    acronym, abbr, span.caps {
    font-size: 11px;

    }

    acronym, abbr {
    cursor: help;
    border:none;
    }

    blockquote {
    border-left: 5px solid #ccc;
    margin-left: 18px
    padding-left: 5px;
    }

    .aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    }

    .alignleft {
    float: left;
    }

    .alignright {
    float: right;
    }

    body {
    background-color: #fff;
    color: #89867e;
    font-family: Georgia, serif;
    padding: 0px;
    font-size: 11px;

    }

    #rap {
    background-color: #FFFFFF;
    width: 850px;
    height: 100%;

    padding: 50px;
    margin: 0 auto 0 auto;

    }

    cite {
    font-size: 11px;
    font-style: normal;
    color: #a4a19c;
    }

    #small {
    font-size: 11px;
    font-style: normal;
    font-family: Georgia, serif;
    color: #fff;

    font-background-color: #89867e;
    width:500px;
    border-bottom: 1px dashed #c5c2bc;

    }

    smallbg {
    color: #fff;

    background-color: #a4a19c;

    }

    h2 {
    font-family: Georgia, serif;
    font-style: italic;
    font-size: 15px;
    margin: 15px 0 2px 0;
    padding-bottom: 10px;

    }

    h3 {
    font-family:Georgia, serif;
    margin-top: 0;
    font-size: 11px;

    }

    ol#comments li p {
    }

    #commentlist li{
    margin-left:-22px;
    }

    p, li, .feedback {
    font: 11px Georgia, serif;

    }

    /* classes used by the_meta() */
    ul.post-meta {
    list-style: none;
    }

    ul.post-meta span.post-meta-key {
    font-weight: bold;
    }

    .credit {
    clear:both;
    color: #bdb9b2;
    font-size: 8px;
    padding: 50px 0 0 0;
    margin: 0 0 20px 0;
    text-align: left;
    }

    .credit a:link, .credit a:hover {
    color: #666;
    }

    .feedback {
    color:#89867e;
    text-align: right;
    font-size:11px;
    clear: both;
    }

    .meta {
    font-size: 11px;
    }

    .meta2 {
    font-size: 11px;
    font-family:Georgia, serif;
    color: #918e87;
    font-weight: normal;
    letter-spacing: -1.5px;
    }

    .meta2 a {
    font-size: 11px;
    font-family: Georgia, serif;
    color: #918e87;
    font-weight: normal;
    letter-spacing: 1px;
    }

    .meta li, ul.post-meta li {
    display: inline;
    }

    .meta ul {
    display: inline;
    list-style: none;
    margin: 0px;
    padding: 0px;
    }

    .entry img {
    max-width:500px;
    }

    #comments{

    padding-top:18px;

    }

    .commentby {
    padding-bottom:8px;
    }

    #postcomment{
    margin-top:24px;

    }

    .meta, .meta a {
    color: #808080;
    font-weight: normal;
    letter-spacing: 0;
    }

    .meta2, .meta2 a {
    color: #ffffff;
    font-weight: normal;
    letter-spacing: 0;
    }

    .storytitle {
    margin: 0;
    }

    .storytitle a {
    text-decoration: none;
    }

    .storycontent a {
    text-decoration: none;
    color: #ffffff;
    font-background: #626262;
    background: #626262;
    }

    .storycontent a:hover {
    text-decoration: none;

    }

    .storycontent {
    margin-bottom:11px;
    margin-top:0px;
    }

    #commentform #author, #commentform #email, #commentform #url, #commentform textarea {
    background: #fff;
    border: 1px solid #ccc;
    padding: 3px;
    }

    #commentform textarea {
    width: 98%;
    }

    #commentlist li ul {
    font-size: 11px;
    list-style-type: none;
    color: #666;
    }

    #content {
    float: left;
    width:500px;

    }

    .columntitles {
    font-family: Georgia, serif;
    letter-spacing: 1px;
    font-weight: bold;

    font-size: 11px;
    }

    #headwrap {
    width:900px;
    height: 150px;
    padding: 0px;
    background: transparent url(http://www.julieleestudio-new.com.temp.livebooks.com/logo3.jpg) no-repeat scroll 0 0;

    }
    #header {

    font-family: Georgia, serif;
    font-size: 0px;
    color: white;
    font-weight: bold;
    max-width: 200px;
    line-height: 100%;

    }

    #simpost {
    font-family:Georgia, serif;
    font-size: 11px;
    color: black;
    font-weight: normal;
    float: left;
    background: #fff;
    padding:5px 0 5px 0;
    margin:0px 0 5px 0;

    }

    #simpost a {
    font-family:Georgia, serif;
    font-size: 11px;
    color: #ffffff;
    font-weight: normal;
    font-background: #F48282;
    background: #F48282;
    }

    #header a {
    color: #dbb82e;
    text-decoration: none;
    }

    #header a:hover {
    text-decoration: none;
    }

    #header input#s {
    width: 60%;
    background: #eee;
    border: 1px solid #999;
    color: #89867e;

    }

    #header ul {
    color: #ccc;
    list-style-type: none;
    margin: 0;
    padding-left: 3px;
    text-transform: lowercase;
    weight: bold;
    }

    #header h2 {
    font-weight: normal;
    margin:0;
    padding:0;
    font-size: 11px;

    }

    #header ul li {
    font-family: Georgia, serif;
    margin-top: 10px;
    }

    #header ul ul {
    font-variant: normal;
    font-weight: normal;
    list-style-type: none;
    margin: 0;
    padding: 0;
    text-align: left;
    }

    #header ul ul li {
    border: 0;
    font-family: Georgia, serif;
    margin-top: 0;
    padding: 0;
    padding-left: 3px;
    }

    #header ul ul li a {
    color: #89867e;
    text-decoration: none;
    }

    #header ul ul li a:hover {
    border-bottom: 1px solid #809080;
    }

    #header ul ul ul.children {
    font-size: 11px;
    padding-left:3px;
    }

    #sidebar {
    background: #fff;
    padding: 10px 5px 5px 5px;

    float: right;
    width: 200px;
    }

    #sidebar a {
    text-decoration: none;
    color: #89867e;
    font-weight: normal;
    font-size: 11px;
    }

    #sidebar a:hover {
    text-decoration: none;
    color: #dbb82e;
    }

    #sidebar form {
    margin: 0 0 0 0px;
    text-decoration: none;
    color: #89867e;
    font-weight: bold;
    font-size: 11px;
    }

    #sidebar input#s {
    width: 100%;
    background: #fff;
    border: 1px dashed #c5c2bc;
    color: #89867e;

    }

    #sidebar ul {
    color: #89867e;
    font-weight: bold;
    font-size:11px;
    list-style-type: none;
    margin:0px;
    padding-left: 1px;

    }

    #sidebar h2 {
    font-weight: bold;
    font-family:Georgia, serif;
    font-style: italics;
    margin:0;
    padding:0;
    font-size: 11px;
    color: #89867e;

    }

    #sidebar ul li {
    font-family:Georgia, serif;
    margin-top: 5px;
    padding-bottom: 10px;
    font-weight: italic;
    line-height: 16px;
    color: #89867e;
    font-size: 11px;
    width: 160px;
    list-style-type: none;
    }

    #sidebar ul ul li {
    border: 0;
    font-family:Georgia, serif;
    line-height: 80%;
    padding: 0;
    font-size: 10px;
    font-weight: normal;
    list-style-type: none;
    color: #a4a19c;
    }

    #wp-calendar {
    empty-cells: show;
    font-size: 11px;
    margin: 0;
    width: 90%;
    }

    #wp-calendar #next a {
    padding-right: 10px;
    text-align: right;
    }

    #wp-calendar #prev a {
    padding-left: 10px;
    text-align: left;
    }

    #wp-calendar a {
    display: block;
    text-decoration: none;
    }

    #wp-calendar a:hover {
    background: #ccc;
    color: #333;
    }

    #wp-calendar caption {
    color: #000;
    text-align: left;
    font-weight: normal;

    }

    #wp-calendar td {
    color: #999;
    padding: 2px 0;
    text-align: center;
    }

    #wp-calendar td.pad:hover {
    background: #fff;
    }

    #wp-calendar td:hover, #wp-calendar #today {
    background: #eee;
    color: #666;
    }

    #wp-calendar th {
    font-weight: normal;
    text-transform: capitalize;
    color: #999;

    }

    #desc {
    font-family: georgia, serif;
    font-style: italic;
    float: left;
    font-size: 11px;
    margin-top:65px;
    color: #a4a19c;

    }
    #desc a:link, #desc a:visited {
    display: inline;
    background-color: #fff;
    color: #666;
    text-decoration: none;
    }
    #desc a:hover {
    background-color: #eee;
    color: #666;
    text-decoration: none;
    }
    #desc a:active {
    background-color: #fff;
    }

    ib {
    font-family:Georgia, serif;
    font-style: italic;
    font-size: 11px;
    }

  2. kill-switch413
    Member
    Posted 3 years ago #

    It would be in your header. The image/link would look something like this..

    <a href="<?php bloginfo('url'); ?>"><img src="<?php bloginfo ('');?>/image_path/image.png"></a>

  3. julee82
    Member
    Posted 3 years ago #

    What do I need to change on here?
    My header shows this:

    </head>

    <body>

    <div id="rap">
    <div id="headwrap">
    <div id="header">
    /"><?php bloginfo('name'); ?>
    </div>
    <div id="desc">
    <?php bloginfo('description'); ?>
    </div>
    </div>

    <div id="content">
    <!-- end header -->

  4. kill-switch413
    Member
    Posted 3 years ago #

    What you have posted there does not contain the image tag
    <img scr="">

    Just post your entire header.php and it would be easier to help. Or even a url to your website.

    The tag <?php bloginfo(name);?> just echo's what you name your website in the Dashboard. Same with the <?php bloginfo(description);?>

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags