Announcement

Collapse
No announcement yet.

Text size in fragments

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Text size in fragments

    Hi

    I have a question about text in fragments, Is there any way I can alter the text size in an individual fragment? e.g. make it bigger or bolder. Maybe using html?

    Thanks

    Martin

    #2
    If you need to change it on an adhoc basis simply span the text with either HTML or better still CSS eg:

    .... this text is !!<<b>bold</b>>!!

    ... this text is !!<<div class="fragmentText">bold</div>>!!

    in the actinic.css you need to create a class eg:

    .fragmentText {
    text-size: 24px;
    color: #990000;
    font-weight: bold;
    }

    going the CSS route is a little slower to start with but if you want to add the style several times in the same fragment, add to another fragment of at a later stage want to make the text small and lime green you only have to change the one location in the stylesheet.

    If you want to change the whole text in s fragment you are better creating a new fragment layout and changing the HTML / CSS in that. The above options are for changing small parts of the text not the whole.


    Bikster
    SellerDeck Designs and Responsive Themes

    Comment

    Working...
    X