Support » Themes and Templates » How do I link a logo? …and…

  • petedutcher


    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 {
    	font-family:Trebuchet ms ,Century gothic,Verdana,Tahoma,sans-serif;
    	margin:40px 0 0 0px;
    .blogname h1  {
    	padding:0 0 0px 0;
    	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

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

Viewing 1 replies (of 1 total)
  • petedutcher


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

    <?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> &raquo; Blog Archive <?php } ?> <?php wp_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>

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