Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Rich Text Editor Background ColorRich Text Editor Background Color
Previous
 
Next
New Post
1/22/2007 1:26 PM
 
I've seen in other posts that changing your Body tag in your skin.css to #Body will do the trick.
 
New Post
1/24/2007 12:31 PM
 
Thanks for the replies.  Here was my work-around.

I changed the body background-color back to white and added a <div>  around everything that fills the whole page with another background color.
 
New Post
1/24/2007 1:31 PM
 
Salaro wrote

The Rich text now reads the background form Body{....

 

Why would it do this?  Is it a limitation in the editor control or the DNN implementation?

 

 
New Post
2/2/2007 11:41 PM
 

If you read back through the post you will see that it's a "feature" that the editor uses the background color of the page. If you have a dark page as I do.... I can't even make out the text in the editor because it's black text on a brown background.

BTW Someone suggested using #Body and this did work for me. The class wasn't background it is background-color and that seems to work.

Replace

Body{}

with

#Body{
   background-color:#301907;
}

 
New Post
2/4/2007 3:28 PM
 
wsmall wrote

If you read back through the post you will see that it's a "feature" that the editor uses the background color of the page. If you have a dark page as I do.... I can't even make out the text in the editor because it's black text on a brown background.

BTW Someone suggested using #Body and this did work for me. The class wasn't background it is background-color and that seems to work.

Replace

Body{}

with

#Body{
   background-color:#301907;
}

 That should also change the body background color if any is viewable.  Since the body tag had the id Body any settings there will change it for the entire page.  However if you override the "body" (notice lower case) class, you can specify a color that will be overriden by the #Body settings for the page as long as there are #Body settings.  So, if you set the color of the editor in "body" and specify the actual background color of the page in "#Body", it should look normal.

Another way (at least per portal) is to modify the Provider.Ftb3HtmlEditorProvider project.  Modify the Ftb3HtmlEditorProvider.vb and modify the DesignModeCss section where they build this setting.  Simply add a line under line: 573 where it currently says:

DesignModeCss += "\' type=\'text/css\' /><link rel=\'stylesheet\' href=\'" + PortalSettings.HomeDirectory & "portal.css"

to read:

DesignModeCss += "\' type=\'text/css\' /><link rel=\'stylesheet\' href=\'" + PortalSettings.HomeDirectory & "portal.css"
DesignModeCss += "\' type=\'text/css\' /><link rel=\'stylesheet\' href=\'" + PortalSettings.HomeDirectory & "ftb.css"

Recompile that module and from that point on, if you need a different background color for your portal in design mode, simply add a file called "ftb.css" containing:

body
{
    background-color:#ffffff;
}

That will set the color of just the editor control and not hinder anything else.

 

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Rich Text Editor Background ColorRich Text Editor Background Color


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out