• I just switched to the Twenty Ten theme. We like one of the supplied header images that works well on the site, however the “name” and “description,” which appear above it need to be changed. I created an image file to replace that area.

    In other themes for our other sites I’ve never had a problem overriding WordPress’ display of this area, however this one has me stumped. I’ve altered the coding in the header section several times in different ways, but regardless of what I do – the same bland black bold text appears for the name with the italicized description.

    What am I missing?

    Thanks for any help that can be offered.

Viewing 3 replies - 1 through 3 (of 3 total)
  • hljeffries,

    Could you post link to your site?

    You could probably set your image as background image for “name”, and give it text-indent or (better) just replace bloginfo( 'name' ) code in header.php with <img> tag.

    You can use the text trick:

    #site-title {
    	float: left;
    	font-size: 30px;
    	line-height: 36px;
    	margin: 0 0 18px 0;
    	width: 700px;
    text-indent: -999em;
    	}
    
    #site-description {
    	clear: right;
            float: right;
    	font-style: italic;
    	margin: 15px 0 18px 0;
    	width: 220px;
    text-indent: -999em;
    	}

    Thread Starter hljeffries

    (@hljeffries)

    Thank you for both of your suggestions. I had tried several times using the <img src> code in place of bloginfo before asking for help, but evidently I wasn’t keying it in on the correct line in header.php. Finally got it and it worked perfectly.

    Thanks again!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Changing the 'name' display in Twenty Ten’ is closed to new replies.