Opened 6 years ago

Closed 6 years ago

#4982 closed Bug (invalid)

Transparent background not working

Reported by: guillaumesmo Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: Doc Cc:


I have deleted the following lines in "contens.css":

/* Remove the background color to make it transparent */
background-color: #fff;

But the background remains white.

Attachments (1)

Image 1.png (459.0 KB) - added by guillaumesmo 6 years ago.

Download all attachments as: .zip

Change History (2)

Changed 6 years ago by guillaumesmo


comment:1 Changed 6 years ago by fredck

  • Keywords Doc? added
  • Resolution set to invalid
  • Status changed from new to closed

The transparent background is a feature for the v2 and office2003 skins (which looks like your case).

It's now enough to remove that line from contents.css. It's also necessary to add the following CSS rule into your page (note, the page which has the editor, not contents.css):

.cke_contents, .cke_contents iframe
	background-color: Transparent !important;

To make it work with the kama skin, it's also necessary to make the skin itself transparent, which may be not the desired effect. For that, the following must be added to the page instead of the above:

.cke_contents, .cke_contents iframe, .cke_wrapper
	background-color: Transparent !important;
Note: See TracTickets for help on using tickets.
© 2003 – 2015 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy