Support » Theme: Customizr » Customizr – Two Line tagline

Viewing 4 replies - 1 through 4 (of 4 total)
  • In Customiz’it!>Site Title & Tagline, add the tagline using:
    This is Tagline Line 1 <br> This is Tagline Line 2

    Nope. This solution doesn’t work. The tagline escapes any html code and outputs it unformatted. The only solution you have is to install RTFR, go to your page source and select the tagline tag (should be something like this:)

    <h2 class=”site-description”>
    Here goes your tagline </h2>

    You need to replace

    Here goes your tagline                </h2>


    Here goes<br />your tagline                </h2>

    The content of your tagline appears in 5 places on the page but you only want to replace it in two of them. That’s why you need to include the end of h2 tag.
    Also, it’s important to copy/paste from the source of the page, to make sure RTFR finds that piece of code and replaces it.
    Also, you may style up a part of your tagline with this method, by wrapping it up in a span and style it away.

    Here goes <span>your tagline</span>                </h2>

    Custom CSS: you may change any CSS property of that span…

    .site-description span {
    white-space: nowrap; /* Makes sure it's always displayed in one line */
    font-family: inherit; /* This is always a good idea, to make sure you get the font-family of h2 and not get overridden by some styling of span site-wide */

    I personally use this trick when I want to control where the tagline breaks when it doesn’t fit in only one row.



    Font hero

    This should do it too.

    .site-description:after {
    	content: "hello secondline of tagline";
    	display: block;
    	font-size: 0.8em; /*optional*/
    	font-weight: normal; /*optional*/
    	opacity: 0.7; /*optional*/

    The downside ( I read from somewhere ) is that SE don’t see it as a real content, so use this method only if your second line of description is just for something additional.

    Thanks everyone!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Customizr – Two Line tagline’ is closed to new replies.