Home Forums Lush Theme Discussion & Support HTML in strapline replacement

This topic is: resolved

This topic contains 2 replies, has 2 voices, and was last updated by  Roger Leitch 3 years, 7 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #3761

    Roger Leitch
    Participant
    Post count: 56

    Currently setting up a site for an intern program.
    My colleagues want to have selected words in the tagline/strapline larger than others.

    Tried the following in a text widget in the strapline replacement area but it all shows the same size.

    Live passionately – Embrace your destiny – transform our nation.

    e.g.

    Live <span size="x-large">passionately</span> - Embrace ...

    Any suggestions – I assume the strapline css is overiding any settings I make.

    Is there a way to do this?

    #3764

    themeweaver
    Keymaster
    Post count: 730

    Why do you have size=”” ?

    You need something like class=”mylarge” and then add definition of mylarge to your css.

    .mylarge{

    font-size:3em;
    }

    #3765

    Roger Leitch
    Participant
    Post count: 56

    Thanks for the hints

    I added the following in my child theme style.css, added span class= into the widget text.

    Tweeked the % to get it to fit.

    	.straplineS{
    		font-size:100%;
    	}
    	.straplineL{
    		font-size:140%;
    	}
Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.