wysiwyg body background

Wysiwyg body background, a forum discussion on Jojo CMS. Join us for more discussions on Wysiwyg body background on our Administration (backend and configuration) forum.

Back to Forum Index : Back to Administration (backend and configuration)   RSS
Jaijaz Jaijaz

12 Jun 2009
Posts: 215

On the whole we have found that clients tend to prefer editing their pages in the wysiwg editor, but this is causing a problem of it's own for some sites.

The wysiwyg seems to use the body tags background for the background of the editing which means quite often they are trying to read text over a color or pattern that the content doesn't have. In one instance the content area on the site is white but the background to the body is the same green as the a tags and therefore you can't see the a tags in the wysiwyg.

I thought I would ask if anyone else come across this problem and if so worked out a solution before I pull the code apart and try to come up with a work around.

Jai
If you not living on the edge you taking up too much space.
mikec

Lead Developer

mikec

12 Jun 2009
Posts: 67

Create a xinha.css stylesheet in a plugin or theme and xinha will pick this up and you can use it to override the look of everything in the xinha body area.
tom

Developer

tom

12 Jun 2009
Posts: 379

this can also be a way to get styles in/out of xinha - because xinha only picks up the content in it's own shell, anything styled specifically, for example #content p, will be ignored in xinha, unless you put it in xinha.css.

This means you styles you don't want showing up for users can easily be hidden by making them more specific (I've tried to do this with a lot of the admin styles like div.contactform which were showing up in xinha and confusing users, by making them tag specific eg: form.contactform).

Caching can make it slightly painful to get any changes to xinha.css to actually show up, so, as with ie_style.css, it's easiest to navigate to the css file directly and force refresh in order to update the cached copy

Jaijaz Jaijaz

15 Jun 2009
Posts: 215

Awesome guys. Thanks heaps.
If you not living on the edge you taking up too much space.
Back to Forum Index : Back to Administration (backend and configuration)   RSS
You must be logged in to post a reply



You need to Register or Log In before posting on these forums.