Copied to clipboard

Flag this post as spam?

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


  • Teena 44 posts 64 karma points
    Sep 29, 2010 @ 18:47
    Teena
    0

    Black background in rte editor

    Hi!  How can I remove the black background in the RTE?  The design does call for a black background so I don't actually want to change it to white.  There must be a way.....

  • Rich Green 2246 posts 4008 karma points
    Sep 29, 2010 @ 18:56
    Rich Green
    0

    Hi Teena,

    Add a new stylesheet and associate it with your RTE and add some css like this to the new stylesheet

    .mceContentBody {background-image:none; background-color:#fff; background:#fff;}
    body.mceContentBody {background-color:#fff; background:#fff; background-image: none; font-family: Arial, Segoe UI, Sans-Serif !important; text-align: left;}

    Rich

  • Teena 44 posts 64 karma points
    Sep 30, 2010 @ 00:13
    Teena
    0

    Worked greta.  Thanks!

  • singer777 69 posts 80 karma points
    Sep 30, 2010 @ 04:03
    singer777
    0

    You also can simply uncheck the associated style sheet that you had. This will leave it with black text on a white background. Simple and workable for any site. And no need to create a new style sheet.

  • Brian Milman-Hurst 48 posts 76 karma points
    Aug 21, 2013 @ 16:37
    Brian Milman-Hurst
    0

    Hi guys, anybody looking at this thread I would advise that you use Rich's version... It works perfectly and allows you to still allow use of bespoke styles to the site administrators via their RTE.

    Thanks Rich!

Please Sign in or register to post replies

Write your reply to:

Draft