• Educated Savage

    (@educated-savage)


    Hi there!

    I would like to create a tagline with multiple lines of text. In the below website, I’m using

    .site-description {width: 850px;}

    to force the text to wrap, but I would really like to have a blank space between the first and second lines and to also make this more responsive by inserting the carriage returns instead of forcing a width.

    Alternatively, I might need to create an additional function or something to introduce an entirely new element to format in it’s place, but I don’t know how to do that.

    Any help you can give is deeply appreciated. The site is http://myappstat.educatedsavage.com.

    Thanks so much!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator Bet Hannon

    (@bethannon1)

    The tagline is used in more places than just on your site header. If you just want it broken in the header, then edit the theme’s header.php file and replace the <?php bloginfo(‘description’); ?> code with your tagline as you want it to be displayed there instead.

    Thread Starter Educated Savage

    (@educated-savage)

    Okay, so I found the following code in my theme files:

    $site_description = get_bloginfo('description', 'display');

    Is that what I want to change? And, if so, what would the syntax be? I’ve tried a couple things on my own and just managed to crash my site over and over again. 🙁

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Carriage Return in Tagline’ is closed to new replies.