Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Evan 344 posts 99 karma points
    Mar 27, 2009 @ 20:50
    Evan
    0

    Need to have a style work with rich text...

    I need to have a style work with the rich text editor and I can not figure out how to get it to work. I have some testimonials, and the name of the person who gives the testimonial needs to be styled like this...
    .caption
    {
    color:#666666;
    text-align:justify;
    font-size:11px;
    }

    I tried putting it in a stylesheet by itself and then set the style for the Rich Text editor to see that style sheet, but when I do the drop down nothing shows up. How do I get this to work?

  • Peter Dijksterhuis 1442 posts 1722 karma points
    Mar 27, 2009 @ 21:19
    Peter Dijksterhuis
    0

    Hi,

    fairly easy.
    First, create a stylesheet (or use existing one) and attach that to the richtext editor.
    Then, right-click on the stylesheet you attached and click 'create'
    Fill in the name and alias (alias being h1, h2, or .class)
    Save and go to a page with a RTE. The style then should show up.

    HTH,
    PeterD

  • Evan 344 posts 99 karma points
    Mar 27, 2009 @ 21:26
    Evan
    0

    Alright, it is showing up in the drop down, but it is not actually styling the text, even if I highlight the word that needs that css and select caption in the drop down....

    The name/alias are Caption and in the styles section I have:
    .caption
    {
    color:#666666;
    text-align:justify;
    font-size:11px;
    }

    EDIT: Disregard, I got it after some tinkering. Thanks!

  • Peter Dijksterhuis 1442 posts 1722 karma points
    Mar 27, 2009 @ 21:31
    Peter Dijksterhuis
    0

    I forgot to mention, you only need to write the styling, not the style itself like this:
    [code]
    color:#666666;
    text-align:justify;
    font-size:11px;
    [/code]

    But you figured that out :)

  • Evan 344 posts 99 karma points
    Mar 27, 2009 @ 21:45
    Evan
    0

    [quote=PeterD]I forgot to mention, you only need to write the styling, not the style itself like this:
    [code]
    color:#666666;
    text-align:justify;
    font-size:11px;
    [/code]

    But you figured that out :)[/quote]
    =p~

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies