TinyMCE: I change BG to black, now I have black text on black bg

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
areimann
Forum Members
Forum Members
Posts: 12
Joined: Wed Sep 03, 2008 8:00 pm

TinyMCE: I change BG to black, now I have black text on black bg

Post by areimann »

The web site I am creating has a black background.  So I went into the Admin and went to:

Extension > TinyMCE WYSIWYG > Advanced

And I put this into "Additions to stylesheet:"

*, body, textarea, p,div,h1,h2,h3,h4,h5,h6,div,blockquote,dt,dd,code,samp {
color: white;
background: black;
}
li {
  margin-left : 16px;
  color: white;
}

The background is black now, but the default text is black also.  It does turn white once you hit enter.

Anyone know how to make it start text as white?

thanks
SideshowBob
Forum Members
Forum Members
Posts: 80
Joined: Thu Sep 13, 2007 10:50 am

Re: TinyMCE: I change BG to black, now I have black text on black bg

Post by SideshowBob »

Hmm, I don't quite see the same thing as you but try adding this:

Code: Select all

body#tinymce {color: white !important;background: black !important;}
Bob
areimann
Forum Members
Forum Members
Posts: 12
Joined: Wed Sep 03, 2008 8:00 pm

Re: TinyMCE: I change BG to black, now I have black text on black bg

Post by areimann »

nice.... that fixed it.

thanks
SideshowBob
Forum Members
Forum Members
Posts: 80
Joined: Thu Sep 13, 2007 10:50 am

Re: TinyMCE: I change BG to black, now I have black text on black bg

Post by SideshowBob »

cool, don't forget to mark the subject of your first post with [Solved]

Bob
Post Reply

Return to “Layout and Design (CSS & HTML)”