The Joomla! Forum ™



Forum rules


Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.



Post new topic Reply to topic  [ 34 posts ]  Go to page 1, 2  Next
Author Message
PostPosted: Thu Apr 30, 2009 6:08 pm 
User avatar
Joomla! Explorer
Joomla! Explorer

Joined: Mon Apr 23, 2007 11:59 pm
Posts: 419
Location: Apache Junction, AZ
when I try to edit with the jce editor, the page background, which is dark and makes the text unreadable, shows in the editor, even though the article background is white. How do I get rid of that?

_________________
If only one man knows the truth, it is still the truth.


Top
 Profile  
 
PostPosted: Fri May 01, 2009 12:01 am 
User avatar
Joomla! Hero
Joomla! Hero

Joined: Wed Apr 04, 2007 8:54 pm
Posts: 2577
Location: Driggs, Idaho
Hi,

Go to Components > JCE > Configuration

Under the Formatting section, in the Editor Content Class, select "Hi Contrast" This will remove your background color so you can see the text.

See attached screen shot


You do not have the required permissions to view the files attached to this post.

_________________
Joomla Website Design / CS-Cart Website Design
http://writenowdesign.com


Top
 Profile  
 
PostPosted: Sun May 03, 2009 6:13 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Tue Sep 09, 2008 11:47 am
Posts: 8
pxforti, this hint is awesome. :) Thank you.

Question though. On a different website I found this fix:
Code:
body.mceContentBody {
background-color: #FFFFFF !important;
background-image: none;
}


It did work for one site, it didn't work for another. Is there a reliable .css based fix?


Top
 Profile  
 
PostPosted: Sun May 03, 2009 6:34 pm 
User avatar
Joomla! Hero
Joomla! Hero

Joined: Wed Apr 04, 2007 8:54 pm
Posts: 2577
Location: Driggs, Idaho
I haven't used that css code, but it might not work if you use a different editor than the one for which it was built.

Since I always use the JCE editor, the high contrast works for me. Please post if you find a good css solution.

Also, I remember reading on the JCE forum that you can create a custom css style sheet for the editor, but that creates the problem of having a separate stylesheet for editor; if you make changes to the regular stylesheet, then you have to make changes to the editor style sheet.

_________________
Joomla Website Design / CS-Cart Website Design
http://writenowdesign.com


Top
 Profile  
 
PostPosted: Sat May 30, 2009 4:02 am 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Tue Apr 25, 2006 12:25 pm
Posts: 17
Location: Dallas Tx
cybervigilante wrote:
when I try to edit with the jce editor, the page background, which is dark and makes the text unreadable, shows in the editor, even though the article background is white. How do I get rid of that?


I've never had JCE Joomla! 1.5 give me anything in the article's default editing window but a white background with black text (High Contrast as default). It has happened in Joomla! 1.0 now and again. My solution basically works the same in both.

When the white editor window's background is an issue because the site's content background is colored or even a graphic file this is what I do -

Create a NEW JCE Editor css file - change the window background and text color as default as not to alter other attributes of the article(s) in editing desired (but I suppose you could make default what ever styles the class will allow)/

* Set up a new css file and call it "editor.css"
* Create a "body" class and set the style to what matches the front front end content area's style.
* Place the css file in the template's css folder.

In JCE Configuration Admin set :
* Editor Content Class = Custom
* Use Template CSS = No
* Use Custom CSS file (the path) = templates/"the template's name"/"template's css folder"/"the file's name".css - For example, " templates/ja_purity/css/editor.css "

If there were a simple "editor window" background color and/or image set up section in the editor's config, that would be radically nice concept.
:pop

_________________
"We live and die by the two edged sword called Open Source."


Top
 Profile  
 
PostPosted: Sat May 30, 2009 12:25 pm 
User avatar
Joomla! Hero
Joomla! Hero

Joined: Wed Apr 04, 2007 8:54 pm
Posts: 2577
Location: Driggs, Idaho
The problem with creating the editor style sheet is that if you make changes to your real style sheet, you have to update the editor style sheet to reflect. Like you said, a nice option would be a setting in the editor config to turn off the background.

_________________
Joomla Website Design / CS-Cart Website Design
http://writenowdesign.com


Top
 Profile  
 
PostPosted: Sat May 30, 2009 2:50 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Tue Apr 25, 2006 12:25 pm
Posts: 17
Location: Dallas Tx
pxforti wrote:
The problem with creating the editor style sheet is that if you make changes to your real style sheet, you have to update the editor style sheet to reflect. Like you said, a nice option would be a setting in the editor config to turn off the background.



One has only to make the effort.

:pop

_________________
"We live and die by the two edged sword called Open Source."


Top
 Profile  
 
PostPosted: Wed Jul 08, 2009 4:59 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Tue Feb 06, 2007 1:30 pm
Posts: 44
or you could use the @import in your main style sheet, like so:

@import url("editor_content.css");

:-)

_________________
Judd Muir
http://www.barcelona-internet-marketing.com/ | http://www.yabadoo.es/


Top
 Profile  
 
PostPosted: Mon Sep 28, 2009 11:50 pm 
User avatar
Joomla! Hero
Joomla! Hero

Joined: Wed Apr 04, 2007 8:54 pm
Posts: 2577
Location: Driggs, Idaho
Regarding the code below; I figured out it works on Joomla 1.0 to get rid of background color in the jce editor.

body.mceContentBody {
background-color: #FFFFFF !important;
background-image: none;
}

I found out it works for Joomla 1.0. Probably doesn't work for 1.5

_________________
Joomla Website Design / CS-Cart Website Design
http://writenowdesign.com


Top
 Profile  
 
PostPosted: Tue Sep 29, 2009 1:09 am 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Tue Apr 25, 2006 12:25 pm
Posts: 17
Location: Dallas Tx
pxforti wrote:
Regarding the code below; I figured out it works on Joomla 1.0 to get rid of background color in the jce editor.

body.mceContentBody {
background-color: #FFFFFF !important;
background-image: none;
}

I found out it works for Joomla 1.0. Probably doesn't work for 1.5


I've not had "body.mceContentBody" work (yet) within a template's css file in 1.5 (using JCE),
but it does work with 1.5 in an "editor.css" file when JCE is set to do so.
I usually use a separate "editor.css" file

;)

_________________
"We live and die by the two edged sword called Open Source."


Top
 Profile  
 
PostPosted: Tue Jan 12, 2010 5:54 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Mon May 04, 2009 5:51 pm
Posts: 3
The CSS suffix '.mceContentBody' may only work for certain versions of certain editors, which would explain why it works on some sites not others.

Thanks for tip on the 'High Contrast' setting. That seems the easiest to change. That was hugely helpful. My editor's text was unreadable!


Top
 Profile  
 
PostPosted: Sun Feb 07, 2010 2:09 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Sat Apr 05, 2008 7:14 pm
Posts: 13
There's a really simple fix to this problem... go to Go to Components > JCE > Configuration and then all you need to do is to set "Use Template CSS" to No.


Top
 Profile  
 
PostPosted: Sat Feb 27, 2010 2:12 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Wed Nov 14, 2007 10:01 am
Posts: 14
I won't admit to how long I screwed around trying to find a CSS style to fix this problem... so thank all you guys for being here in this thread

:-[


Top
 Profile  
 
PostPosted: Tue Mar 23, 2010 3:24 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Thu Feb 04, 2010 1:27 am
Posts: 3
This worked, and I thank you, but I ended up running with this solution instead.

viewtopic.php?f=474&t=497597

Thank you all for your help.


Top
 Profile  
 
PostPosted: Sun Mar 28, 2010 5:47 pm 
User avatar
Joomla! Guru
Joomla! Guru

Joined: Fri Jul 03, 2009 9:51 am
Posts: 625
pxforti: Thanx for the excellent solution!

_________________
Född naken blöt och hungrig
www.gagneffiske.se
www.fly-tiers.se


Top
 Profile  
 
PostPosted: Sat Apr 24, 2010 6:12 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Sat Mar 13, 2010 4:22 am
Posts: 12
Both solutions work. I think the advantage of using body.mceContentBody and using the template css is that you get the css values for the rest of your template in the editor.


Top
 Profile  
 
PostPosted: Tue Jan 11, 2011 3:38 pm 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Tue Oct 10, 2006 1:33 pm
Posts: 174
pxforti wrote:
Go to Components > JCE > Configuration

Under the Formatting section, in the Editor Content Class, select "Hi Contrast" This will remove your background color so you can see the text.


Thanks this saved me a lot of time and hassle. :)

_________________
From these elements I have come. And to these elements I shall return.


Top
 Profile  
 
PostPosted: Sun Feb 27, 2011 1:43 am 
User avatar
Joomla! Explorer
Joomla! Explorer

Joined: Fri Feb 11, 2011 1:47 am
Posts: 453
pxforti wrote:
Hi,

Go to Components > JCE > Configuration

Under the Formatting section, in the Editor Content Class, select "Hi Contrast" This will remove your background color so you can see the text.

See attached screen shot


Your recommendation don't work for me! Because when I click on click on JCE Configuration or JCE Group Manager, it gives error:

You are not authorised to view this resource.

What's going on? I am logged in as Super Administrator and JCE tells me I am not authorized to view this resource!! This is nuts!!

Any solution to removing black background? I only want white background with black text!

_________________
Best wishes and God bless.


Top
 Profile  
 
PostPosted: Sun Feb 27, 2011 1:52 am 
User avatar
Joomla! Explorer
Joomla! Explorer

Joined: Fri Feb 11, 2011 1:47 am
Posts: 453
wilmy wrote:
There's a really simple fix to this problem... go to Go to Components > JCE > Configuration and then all you need to do is to set "Use Template CSS" to No.


Yes very simple IF I could get into the Configuration. Keeps telling me I am not allowed! This is crazy, cause I am a superuser admin and JCE telling me I cannot go into Configuration.

BTW, I have the latest version, JCE 1577.

I even created a new user with super admin privileges, but JCE editor is still giving the error message:

You are not authorised to view this resource.

What a joke eh? LOL

Oh well, back to Tiny editor :( OR I could switch templates everytime I want to edit something. Even though my current template is WHITE, for some weird reason JCE Editor is gray text on black background, but when I switch templates to rhuk_milkyway, then JCE had black text on white background.

I wish I could get into the JCE Configuration :'(

_________________
Best wishes and God bless.


Top
 Profile  
 
PostPosted: Tue Mar 08, 2011 8:53 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Wed Jan 19, 2011 12:39 am
Posts: 9
just wanted to thank pxforti for his post !!

worked for me as my JCE was showing my background image and I couldn't see my test correctly

pxforti wrote:
Hi,

Go to Components > JCE > Configuration

Under the Formatting section, in the Editor Content Class, select "Hi Contrast" This will remove your background color so you can see the text.

See attached screen shot


Top
 Profile  
 
PostPosted: Thu Jul 21, 2011 9:54 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Thu Jul 21, 2011 8:37 pm
Posts: 3
pxforti wrote:
Hi,

Go to Components > JCE > Configuration

Under the Formatting section, in the Editor Content Class, select "Hi Contrast" This will remove your background color so you can see the text.

See attached screen shot


Thank you for this fix. Was driving me crazy.


Top
 Profile  
 
PostPosted: Tue Jul 26, 2011 10:51 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Tue Jul 19, 2011 10:02 pm
Posts: 32
wilmy wrote:
There's a really simple fix to this problem... go to Go to Components > JCE > Configuration and then all you need to do is to set "Use Template CSS" to No.


wilmy is right. PACHOW!

_________________
~stin
Biotrends Intl.


Top
 Profile  
 
PostPosted: Tue Jul 26, 2011 11:06 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Tue Jul 19, 2011 10:02 pm
Posts: 32
sog2012 wrote:
Yes very simple IF I could get into the Configuration. Keeps telling me I am not allowed! This is crazy, cause I am a superuser admin and JCE telling me I cannot go into Configuration.

BTW, I have the latest version, JCE 1577.

I even created a new user with super admin privileges, but JCE editor is still giving the error message:

You are not authorised to view this resource.

What a joke eh? LOL

I wish I could get into the JCE Configuration :'(


Try uninstalling & reinstalling JCE (if you are superadmin, in-fact).

_________________
~stin
Biotrends Intl.


Top
 Profile  
 
PostPosted: Mon Aug 29, 2011 11:08 pm 
User avatar
Joomla! Fledgling
Joomla! Fledgling

Joined: Mon Aug 29, 2011 11:03 pm
Posts: 1
In my JCE editor i needed to do that:

Components-->JCE Administration-->Global Configuration-->Editor Style Reset=Yes

By default Editor Style Reset=No, so you just need to set it Yes in order to have a white backround in JCE editor and not your front end backround in it.

Cheers!


Top
 Profile  
 
PostPosted: Thu Oct 13, 2011 4:03 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Thu Jul 01, 2010 1:27 pm
Posts: 13
Thanks everyone. The High Contrast work for me


Top
 Profile  
 
PostPosted: Fri Oct 21, 2011 7:12 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Tue Sep 20, 2011 9:27 am
Posts: 2
GRIFOS wrote:
In my JCE editor i needed to do that:

Components-->JCE Administration-->Global Configuration-->Editor Style Reset=Yes

By default Editor Style Reset=No, so you just need to set it Yes in order to have a white backround in JCE editor and not your front end backround in it.

Cheers!


This works perfekt in 1.7 :)


Top
 Profile  
 
PostPosted: Mon Oct 24, 2011 9:53 am 
Joomla! Intern
Joomla! Intern

Joined: Fri Nov 05, 2010 8:39 am
Posts: 88
it's all nice but is it possible to set a neutral grey?
i mean, my body background is very dark, almost black, but it is NOT the background displayed behind my text (my text background is grey) so i write in two color: white and very dark....
so if i use "style reset", i get a white background, and then i cant read my white text...
and if i dont use style reset, i get a black background, and then i can't read my dark text...
so i would like to set, as a background, the same color that is displayed on my side... is there a way to do that?
i understand some of you will tell me to use alternate css file, but then i have to put every css modification in double: once in the modified css, so it displays in the editor, and one in the original template.css so it displays on the frontend...


Top
 Profile  
 
PostPosted: Sun Dec 11, 2011 12:10 am 
Joomla! Intern
Joomla! Intern

Joined: Thu Jul 07, 2011 9:00 pm
Posts: 51
Hi,

For anyone using JCE in 1.7 looking for the editor content class, please see my other post at http://forum.joomla.org/viewtopic.php?f=628&t=680526.
Attachment:
jce config.JPG


You do not have the required permissions to view the files attached to this post.


Top
 Profile  
 
PostPosted: Thu Dec 29, 2011 4:15 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Thu Dec 29, 2011 4:08 pm
Posts: 1
The solution is: Find under Components - CE Administration / Editor Global Configuration/Formatting & Display/Editor Style Reset and choose Yes and you will have white bacground in JCE editor!

Enjoy


Top
 Profile  
 
PostPosted: Sun Jan 15, 2012 8:37 am 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Tue Apr 07, 2009 6:27 am
Posts: 130
Location: Tampa, FL
GRIFOS wrote:
In my JCE editor i needed to do that:

Components-->JCE Administration-->Global Configuration-->Editor Style Reset=Yes

By default Editor Style Reset=No, so you just need to set it Yes in order to have a white backround in JCE editor and not your front end backround in it.

Cheers!



That's it!! Worked in 1.7 as mentioned above. Thanks!!!

_________________
JJ Spelman
http://www.j2studio.com
FaceBook: http://www.facebook.com/j2studio


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 34 posts ]  Go to page 1, 2  Next



Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group