PDA

View Full Version : CKE Editor Color


8thos
18 Jun 2011, 00:49
Is it possible to change the color of the gray area?

LifesGreatestGift
19 Jun 2011, 01:05
Open the following file with your favorite editor:

clientscript/ckeditor/skins/kama/mainui.css

Look around line 27 for the following code



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



edit it accordingly. The variable you will need to edit is

Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



Replace the #d3d3d3 with whatever color you'd like, save the file and re-upload/overwrite.

---------------------------------------------------------------------------------

A simpler way to implement a change to the color without editing any files would be to add the following to additional.css template editing the color you want.



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

8thos
19 Jun 2011, 01:59
Woah this is amazing man! The additional code I mean because I have over 30 styles and plan on customizing the background color of the CKEditor for each one.

LifesGreatestGift
19 Jun 2011, 02:28
Glad I could help :)

Sarteck
19 Jun 2011, 14:51
TheWindows7Site, thanks very, very much! For both this and the other CSS examples you gave for the default height! :)

And now I FINALLY know where to look to get the other classes that I can change, too!