Opened 15 years ago
Closed 15 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)
Change History (2)
Changed 15 years ago by
Attachment: | Image 1.png added |
---|
comment:1 Changed 15 years ago by
Keywords: | Doc? added |
---|---|
Resolution: | → invalid |
Status: | new → 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; }
screenshot