• Forgive me for asking this horribly simple question. I am a complete newbie to the whole WordPress/CSS sphere, and I finally managed to get one of the design templates working.
    I want my header to consist of the name of the blog in a large font (which it is now) and then a smaller tagline right below it–how do I include that tagline? In my WordPress “General Options” I’ve got both the blog title and the tagline filled out–does the tagline not show up on the main page?
    The website is here: http://www.clutchpearls.com
    Thanks for your help. Again, sorry for the dumb question.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter Anonymous

    <?php echo bloginfo(‘description’); ?>

    Thread Starter Anonymous

    Thank you. I have no idea where to place the code. I tried it once and it stuck the tagline at the very top of the page.

    Thread Starter Anonymous

    I have the exact same problem. If I use this code, for example:
    <h1 id=”header”>“><?php bloginfo(‘name’); ?>

    <span><?php echo bloginfo(‘description’); ?></span></h1>
    Then it puts the ‘description’ in the same font size, color etc. as the ‘name,’ and stretches it across the top of the page, making a mess of everything else.
    Is there an easy way of decreasing the font size of the ‘description?’
    Thanks for taking time with such a clueless newbie!

    Thread Starter Anonymous

    Anon on July 22,
    Your site name is set within the <h1> tags. When you add the following <?php echo bloginfo(‘description’); ?> it still takes on the traits of the <h1> tag, which is further styled in your wp-layout.css file under #header.
    As for further code you need to decide how you want your description to look.

    If I just want an image in the header and I don’t want the name of my site/blog on it, what shoul I do?

    On my blog I have set up a new div for the head section called #masthead. Then I have set my graphic as the background. Nothing fancy. You would then need to delete the h1 header tag. But it may not be a *good idea*. HTH.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘simple header question’ is closed to new replies.