Ticket #4982 (closed Bug: invalid)

Opened 5 years ago

Last modified 5 years ago

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

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

Change History

Changed 5 years ago by guillaumesmo

screenshot

comment:1 Changed 5 years ago by fredck

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

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 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy