Copied to clipboard

Flag this post as spam?

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


  • Adam Nilsson 30 posts 130 karma points
    Sep 16, 2013 @ 08:10
    Adam Nilsson
    0

    No CSS styling in Richtext field

    Hi!

    I got a problem with the richtext field. It donĀ“t wanna style my headerstyles that I have configured in my Theme.css stylesheet. This is just for the Editor but I want it to work. Is there a bug?

    Grettings Adam

     

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Sep 16, 2013 @ 22:28
    Jan Skovgaard
    0

    Hi Adam

    What version of Umbraco are you using? And how have you configured your theme styles?

    Could you perhpas add some screenshots to illustrate since it can be a bit hard to explain?

    Cheers, Jan

  • Adam Nilsson 30 posts 130 karma points
    Sep 17, 2013 @ 11:37
    Adam Nilsson
    0

    Hi Jan

    I am using umbraco v6.1.1.

     

    This should turn up as 30px Arial but dosent.

     

  • Adam Nilsson 30 posts 130 karma points
    Sep 17, 2013 @ 13:13
    Adam Nilsson
    100

    Hi!

    This is no longer a problem anymore. Screenshots abowe is an example for how not to do :)

    The solution to the problem is to create a new stylesheet with the same properties like the theme.css but you create it in the root of Stylesheet "node" then link that css to the richtext datatype.

     

    Cheers Adam

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Sep 17, 2013 @ 21:37
    Jan Skovgaard
    0

    Hi Adam

    Happy to see you got it all figured out.

    The trick is, as you're saying, to define the elements and classes that should be possible for editors to select from within the rich text editor's style dropdown.

    The styling should be placed in the stylesheet you're using for the website.

    Happy coding.

    /Jan

Please Sign in or register to post replies

Write your reply to:

Draft