changing editor background color

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
5/20/2009 10:20:12 AM
Gravatar
Total Posts 3

changing editor background color

I'd like to change the background color of the fckeditor to match the other asp.net controls on my site. Is this something I can do with the stylesheets in the skins folder. If not, can you point me in the right direction?

5/21/2009 8:31:15 AM
Gravatar
Total Posts 18439

Re: changing editor background color

Generally the editor is configured to have the same css as the site so that the user will see things in the editor as they will look outside the editor.

There are occasions when you may have a background color or image on the site but you don't want that background color in the editor. The way to set a background color or image on the site without having it in the editor is to not put it directly on the body like this:

body{ color: #666666; background-color: #FFFFFF;}

but instead add it to a class selector like this:

.pagebody { color: #666666; background-color: #FFFFFF; }

then in your layout.master file set that class on the body like this:

<body class="pagebody">

Since the page shown inside the editor won't have this class on the bod it will not show the same background styles as the site.

Hope it helps,

Joe

5/21/2009 10:43:41 AM
Gravatar
Total Posts 3

Re: changing editor background color

that did help. thanks.

You must sign in to post in the forums. This thread is closed to new posts.