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  [ 11 posts ] 
Author Message
PostPosted: Tue Aug 07, 2007 8:46 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Wed Apr 11, 2007 3:58 am
Posts: 10
My site has a blue background with light yellow text.  Whether I use either the standard WYSIWYG editor or JCE, both show a white background with the light yellow text of my articles, which is unreadable.  How can I get the background changed so it is the same as my site?

Here is my site:
http://baronyoftwinmoons.org/


Top
 Profile  
 
PostPosted: Tue Aug 07, 2007 8:52 am 
User avatar
Joomla! Intern
Joomla! Intern

Joined: Fri Apr 27, 2007 4:45 am
Posts: 80
Location: Tasmania
I don't see a problem, I take it you fixed it?

If you did good on you, :)
always better to find out yourself, then you remember it  lol

Colza

P.S did you use the css file or what.

_________________
Regards,
Colza

Search the forum before starting a new topic.


Top
 Profile  
 
PostPosted: Tue Aug 07, 2007 8:56 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Wed Apr 11, 2007 3:58 am
Posts: 10
No, the problem is still occurring.  On the front end, it happens when editing calendar items or creating news items (both of which require registration). On the back end, it happens on any HTML editing screen.

I also have a problem with how lists show up, because the alternating background colors really mess with the blue background and don't look good.  You can see that plainly here:  http://baronyoftwinmoons.org/history/bardic-tales/ .  I suspect there will be css-editing involved there, but it's very difficult for me to find the right value to change.

Hopefully, both of these questions can be answered by the gurus here!


Top
 Profile  
 
PostPosted: Tue Aug 07, 2007 1:17 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Wed Nov 23, 2005 3:53 pm
Posts: 30
Hello

In JCE, you can call a custom CSS file that the editor uses.
From the backend:
  - Components>JCE Admin>JCE Configuration
  - Set Template CSS Classes to NO
  - In the Custom CSS Classes field, enter the name of your CSS file for the editor to use. (editor_content.css)
  - Save the Configuration.
  - In your current Template CSS folder add the CSS file for the editor to use (editor_content.css).

In the editor_content.css file you can set the editors background color by using the BODY tag.

BODY {
margin: 0px 0px 0px 0px;
background-color : #ffffff ;
color : #000000;
}

You should also add the rest of the tags that are setup in your template_css.css file that the editor will use (p h1, h2, h3, a:link, etc)

Here is a basic on that  I use for the editor_content.css:

html{
  font-family      : Verdana, Arial, Helvetica, sans-serif;
}

BODY {
margin: 0px 0px 0px 0px;
background-color : #ffffff ;
color : #000000;
}

h1 {
color: #000; font-family: Trebuchet MS, Verdana, Arial, Helvetica, sans-serif;
font-size: 36px; font-weight: bold;
}

h2 {
color: #000; font-family: Trebuchet MS, Verdana, Arial, Helvetica, sans-serif;
font-size: 30px; font-weight: bold;
}

h3 {
color: #000; font-family: Trebuchet MS, Verdana, Arial, Helvetica, sans-serif;
font-size: 24px; font-weight: bold;
}


h4 {
color: #000; font-family: Trebuchet MS, Verdana, Arial, Helvetica, sans-serif;
font-size: 18px; font-weight: bold;
}

h5 {
color: #000; font-family: Trebuchet MS, Verdana, Arial, Helvetica, sans-serif;
font-size: 14px; font-weight: bold;
}

h6 {
color: #000; font-family: Trebuchet MS, Verdana, Arial, Helvetica, sans-serif;
font-size: 12px; font-weight: bold;
}

/* Horizontal Line */
hr {
background: #FF6600; height:2px; border: 1px inset;
}

hr.separator {
background: #FF6600;
height: 1px;
width: 75px;
border: 0px;
}

.x-small, .x-small a:link  {
font-family:Verdana, Arial, Helvetica, sans-serif;
font-size:8px;
color:#3366C0;
text-decoration:none;
font-weight:medium;
}


.small {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
color: #FF6600;
text-decoration: none;
font-weight: normal;
}

.smalldark {
        font-family: Verdana, Arial, Helvetica, sans-serif;
        font-size: 10px;
        color: #333333;
        text-decoration: none;
        font-weight: normal;
        }

td,tr, div {
font-family: Trebuchet MS, Verdana, Arial, Helvetica, sans-serif;
color: #000000;
}

p{
  font-family: Trebuchet MS, Verdana, Arial, Helvetica, sans-serif;
  color: #000000; word-wrap: break-word;}
 
ul {
text-indent: 0px;
        list-style: disc;
        list-style-position:inside;
        list-style-type: disc;
        padding: 10px;
        margin: 20px;

}
li {
list-style: disc;
  list-style-position:inside;
        text-indent: 2px;
        list-style-position: inside;
        list-style-type: disc;
        padding: 2px;
        margin: 2px;

}

br{
clear: all;
}


Hope this helps!
Jake


Top
 Profile  
 
PostPosted: Tue Aug 07, 2007 4:04 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Wed Apr 11, 2007 3:58 am
Posts: 10
Thanks!  I'll try that tonight.


Top
 Profile  
 
PostPosted: Tue Aug 07, 2007 11:26 pm 
User avatar
Joomla! Master
Joomla! Master

Joined: Thu Aug 18, 2005 8:55 pm
Posts: 18140
Location: Nijmegen, The Netherlands
jakebls solution sounds good! However, you could try some shorter method.

Put the following in your template_css.css:
.mceContentBody {
text-align: left;
background: #FFF none;
font: normal 11px Arial, Helvetica, sans-serif;
}

btw: this method is for the TinyMCE editor, I don't know if it works with JCE.
Maybe you'll have to add some CSS class name to .mceContentBody for JCE...

_________________
Kind Regards,
Peter Martin, Global Moderator - Community Leadership Team
http://www.db8.nl - Joomla specialist, Nijmegen, Nederland
Joomla 2.5 multilanguage in 10 steps: http://www.db8.nl/multilanguage-in-10-steps


Top
 Profile  
 
PostPosted: Wed Aug 08, 2007 5:13 am 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Wed Nov 23, 2005 3:53 pm
Posts: 30
Good call pe7er !  I'll have to try that!


Top
 Profile  
 
PostPosted: Fri Nov 02, 2007 8:35 am 
Joomla! Intern
Joomla! Intern

Joined: Wed Feb 28, 2007 3:07 pm
Posts: 72
Location: UK
Thanks Pe7er, that sorted out my problem with JCE.


Top
 Profile  
 
PostPosted: Wed Nov 28, 2007 6:59 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Sat Dec 10, 2005 5:48 am
Posts: 42
Location: Victoria, Australia
Odd, but the .mce fix didn't work for me.  I still had that damned black background.  I did switch the classes of in the template_css file and went to editor css and got the white background.

Only problem now is that I am finding all the HTML content is coded with
tags instead of

tags.  Now some may not worry about this, but as a "traditional" coder I want my  paragraphs back.

Cheers,


Ric


_________________
Ric Raftis
http://bushsong.com.au


Top
 Profile  
 
PostPosted: Sat Dec 01, 2007 2:37 am 
User avatar
Joomla! Fledgling
Joomla! Fledgling

Joined: Sat Sep 22, 2007 1:30 pm
Posts: 2
Follow these easy steps to solve the background annoying problem!

1. Use JCE editor
2. Components -> JCE Admin -> JCE Configuration -> Template CSS classes = No
3. Done!

_________________
Boost traffic to your site for free, submit link now! - http://dir.kbbsite.com | Web Design - http://kbbsite.com


Last edited by goodgbb on Sat Dec 01, 2007 2:42 am, edited 1 time in total.

Top
 Profile  
 
PostPosted: Wed Jan 05, 2011 8:21 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Sat Oct 23, 2010 8:23 pm
Posts: 13
goodgbb wrote:
Follow these easy steps to solve the background annoying problem!

1. Use JCE editor
2. Components -> JCE Admin -> JCE Configuration -> Template CSS classes = No
3. Done!



That method did solve my problem. I now have black text on a white background when editing content. The only problem is now whenever I am editing something the following error appears at the top of the page:

Quote:
* The file name 'templates/joomlage0018-earthslight/css/editor_content.css' was entered in the JCE Custom CSS field. This file could not be found in the default templates folder.
* The css file '/templates/system/css/editor.css' is being used instead.



Other than getting that error, everything seems to be working just fine. But that error is really irritating me and I would like to get rid of it. I did not add anything to my css file as pe7er suggested above because I was not sure where exactly in the css file to add the string (I can open and edit the file).

Sorry to be so dense. Can anyone help?

_________________
www.meancatcoffee.com


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 



Who is online

Users browsing this forum: No registered users and 2 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