• Okay, I am using a theme that displayed the text title with no logo. I figured out how to get the logo to show. But I don’t know how to link it.

    My stylesheet css file reads as:

    .blogname {
    	width:300px;
    	font-family:Trebuchet ms ,Century gothic,Verdana,Tahoma,sans-serif;
    	margin:40px 0 0 0px;
             float:right;
             background:url(images/logo.png);
    	background-repeat:no-repeat;
    
    	}
    
    .blogname h1  {
    	font-size:1px;
    	padding:0 0 0px 0;
    	font-weight:bold;
    	color:#cacccd;
    	text-align:right;
    	margin:100px 0 0 100px;

    The problems I’ve run into were that the text appeared with the logo…so I reduced the text size to 1 pt as a temp fix.

    But my real goal is to have it display the logo in place of the text title, and to link the logo back to the homepage at sarahandsuggest.com.

    Note: I added the “background:url(images/logo.png);” to the above code.

Viewing 1 replies (of 1 total)
  • Thread Starter petedutcher

    (@petedutcher)

    Also, I opened the header.php file and this is the code to display the title:

    <title>
    <?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> &raquo; Blog Archive <?php } ?> <?php wp_title(); ?>
    </title>

    Also in header:

    <div id="wrapper">
    
    <div id="top">
    <div class="blogname">
    	<h1><a href="<?php bloginfo('siteurl');?>/" title="<?php bloginfo('name');?>"><?php bloginfo('name');?></a></h1>
    	<h2><?php bloginfo('description'); ?></h2>
    </div>
    
    </div>

Viewing 1 replies (of 1 total)
  • The topic ‘How do I link a logo? …and…’ is closed to new replies.