Support » Fixing WordPress » Adding Tagline to Header

  • Resolved thestealthyfox


    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

    Could anyone point me in the right direction please?


Viewing 3 replies - 1 through 3 (of 3 total)
  • Michael


    Forum Moderator

    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.

    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]



    Forum Moderator

    please read my earlier reply.

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

    <!-- END logo -->
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Adding Tagline to Header’ is closed to new replies.