Copied to clipboard

Flag this post as spam?

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


  • Dibs 202 posts 991 karma points
    Mar 08, 2017 @ 14:52
    Dibs
    0

    RTE styles class not working

    Dear Umbraco Team

    I have created a RTE stylesheet and attached it to a RTE data type via the developer section.

    I have added a few styles, i.e.

    Header h4 font-size:200%

    red .red color:#FF0000;

    from the format dropdown menus both are available and can be applied to the content within the RTE. In the back office i can see the styles applied to the content. When viewing on the front end, no styles from the RTE style sheet are applied ?

    Is there somthing im missing ?

    thanks Dibs

  • Vidar A. Westrum 23 posts 129 karma points
    Mar 08, 2017 @ 14:58
    Vidar A. Westrum
    100

    Hi Dibs,

    If I understand your problem correctly:

    The stylesheet needs to be attached to the rendering of the content as weel, or at least be reflected in the stylesheet on the rendered page.

    An example is, if you use Sass or Less to import the RTE style into the render style.

    I hope this answers your question :)

  • Dibs 202 posts 991 karma points
    Mar 08, 2017 @ 15:11
    Dibs
    0

    Hi Vidar

    thanks for you input, as i was reading your resposne i realised i hadn't referenced the RTE style sheet in my master paeg.

    my fault : (

    Thanks Dibs

Please Sign in or register to post replies

Write your reply to:

Draft