WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Adding Tagline to Header (4 posts)

  1. thestealthyfox
    Member
    Posted 2 years ago #

    I'm trying to add the tagline underneath my logo in the header part, but not sure where to add the line:

    <title><?php bloginfo('description'); ?></title>

    The site is http://www.burrmedia.co.uk

    Could anyone point me in the right direction please?

    Thanks!

  2. alchymyth
    The Sweeper & Moderator
    Posted 2 years ago #

    wrong code - what you have is for the meta title tag;

    possibly in header.php after this line:

    <!-- END logo -->

    you could try to insert some code like:

    <div class="site-description"><?php bloginfo('description'); ?></div>

    and then add a style for the css class .site-description in style.css of your theme, to format the layout and alignment of your tagline.

  3. thestealthyfox
    Member
    Posted 2 years ago #

    Thanks. Not sure where to add the line though, I've played around with it in a few places but doesn't seem to be working. Here is the Header code:

    [code moderated - please use the pastebin]

  4. alchymyth
    The Sweeper & Moderator
    Posted 2 years ago #

    please read my earlier reply.

    i.e. search for the suggested line in header.php:

    <!-- END logo -->

Topic Closed

This topic has been closed to new replies.

About this Topic