Author |
Message |
toppercharlie
New Member


Joined: Mar 06, 2007
Posts: 7
|
Posted:
Thu Mar 15, 2007 3:35 pm |
|
Whith WYSIWYG I can change the size of fonts or color.That's working.
But when I want to change also the color , he changes the color but resizes
the font to the default size.
It seems that I cannot use color and font size at the same time.
When I change it , he shows it good in the example ! when I submit , it resize it to default size. STRANGE
anyone else ?
p.s I'm using the RavenNuke_v2.10.00 with the integrated WYSIWYG editor |
|
|
|
 |
kguske
Site Admin

Joined: Jun 04, 2004
Posts: 6437
|
Posted:
Thu Mar 15, 2007 8:34 pm |
|
That is strange, since the theme often has a CSS that controls font size. You might try setting up classes in the css file, and specifying them in the WYSIWYG editor. |
_________________ I search, therefore I exist...
Only registered users can see links on this board! Get registered or login! |
|
|
 |
toppercharlie

|
Posted:
Fri Mar 16, 2007 8:44 am |
|
I have tried with another theme.Problem stay's the same.
Does someone els has this problem also ?
It's a clean install.
Kguske ,
What doe you mean with setting up classes in the css file?
I'm not so very good with PHP nuke!
thx |
|
|
|
 |
toppercharlie

|
Posted:
Sun Mar 18, 2007 12:10 pm |
|
Nobody a solution ?
Can someone check it on his site ?
I have reinstalled complete and problem stays ! |
|
|
|
 |
jaiib
New Member


Joined: Apr 06, 2007
Posts: 11
Location: India
|
Posted:
Sat Apr 07, 2007 12:44 pm |
|
Dear Sir,
Change the Color Here Like
if (isset($gfx)){
switch($gfx) {
case "gfx":
$datekey = date("F j");
$rcode = hexdec(md5($_SERVER['HTTP_USER_AGENT'] . $sitekey . $random_num . $datekey));
$code = substr($rcode, 2, 7);
$ThemeSel = get_theme();
if (file_exists("themes/".$ThemeSel."/images/code_bg.jpg")) {
$image = ImageCreateFromJPEG("themes/".$ThemeSel."/images/code_bg.jpg");
} else {
$image = ImageCreateFromJPEG("images/code_bg.jpg");
}
$text_color = ImageColorAllocate($image, 0, 64, 0);
Header("Content-type: image/jpeg");
ImageString ($image, 5, 12, 2, $code, $text_color);
ImageJPEG($image, '', 75);
ImageDestroy($image);
die();
break;
0,64,0 is a Green Color
Thanks |
_________________ Best Regards
JAIIB TEAM |
|
|
 |
fkelly
Former Moderator in Good Standing

Joined: Aug 30, 2005
Posts: 3312
Location: near Albany NY
|
Posted:
Sat Apr 07, 2007 1:55 pm |
|
In this thread:
Only registered users can see links on this board! Get registered or login!
we arrived at a suggested patch for the font size issue, at least in one theme. You might be able to apply that suggestion to the color issue too. I think the basic problem is that the styles from the theme's css file are overriding the font codes that the wysiwyg editor puts in.
What theme is this happening in ... or more than one? |
|
|
|
 |
CodyG
Life Cycles Becoming CPU Cycles

Joined: Jan 02, 2003
Posts: 714
Location: Vancouver Island
|
Posted:
Sat Apr 07, 2007 10:50 pm |
|
I find that commenting out or deleting the FONT line in the style.css seems to clear up just about everything.  |
_________________ "We want to see if life is ubiquitous." D.Goldin |
|
|
 |
montego
Site Admin

Joined: Aug 29, 2004
Posts: 9457
Location: Arizona
|
Posted:
Sun Apr 08, 2007 10:17 am |
|
With the XHTML changes that we made, I had removed many FONT tags that were completely unnecessary (and causing compliance issues) and replaced them with DIV or SPAN tags depending upon the situation (DIV if block level HTML could be inside, SPAN if on in-line HTML could be inside).
Over time, if we continue to improve upon RN with more enhancements, we could continue this work to get rid of font tags altogether in the core RN modules/blocks/admin.
I found that the primary class being used throughout the modules is the "content" class, if that helps here at all. |
_________________ Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! |
|
|
 |
|