CSS
Up one levelNeat tricks, gorgeous css sites and just plain keeping you up to date on Plone css wizardry.
10/22/2007
Plone Design tip for today
removing a background image or color from Kupu content area
by
admin
—
publicado em
2007-10-22 16:39
last modified
2007-10-22 16:39
So you've created this gorgeous theme with a gradient background on your "body" selector and then you go to edit the content and "ta da" you have the same background gradient in your Kupu editing box!
The Kupu editing box has a background-color: transparent; so it shows whatever you have specified as a background color or image on your site within the iframe for your content area.
If you add the following to your ploneCustom.css (or if using DIYPloneStyle.. to your mytheme.css) you can hide that background color.
iframe.kupu-editor-iframe body{
background-color: white !important;
}
iframe.kupu-editor-textarea, .kupu-html {
background-color: white !important;
background-image: none !important;}
body.kupu {
background-image: none !important;
}
- Categoria(s)
-
CSS
- O URL para efectuar trackback desta entrada é:
- http://www.csquaredtech.com/luminescence/plone-design-tip-for-today/tbping