Opened 10 years ago

Closed 10 years ago

#4982 closed Bug (invalid)

Transparent background not working

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

Description

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 10 years ago.
screenshot

Download all attachments as: .zip

Change History (2)

Changed 10 years ago by guillaumesmo

Attachment: Image 1.png added

screenshot

comment:1 Changed 10 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 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy