Opened 14 years ago

Closed 14 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 14 years ago.

Download all attachments as: .zip

Change History (2)

Changed 14 years ago by guillaumesmo

Attachment: Image 1.png added


comment:1 Changed 14 years ago by Frederico Caldeira Knabben

Keywords: Doc? added
Resolution: invalid
Status: newclosed

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 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy