Page 1 of 1

error messg color

Posted: 12 Mar 2010, 23:48
by jvroomans
Hi,
How can I change the color and font size of error messages?
Thanks!

Re: error messg color

Posted: 15 Mar 2010, 23:02
by Jan
Hi, errror messages which are displayed by Joomla! (system messages) can be styled by your template css. The red messages in guestbook can be styled in:

\components\com_phocaguestbook\views\phocaguestbook\view.html.php
line cca 216

Re: error messg color

Posted: 16 Mar 2010, 01:11
by jvroomans
Thanks. But I don't understand. :( Line 216 says:
$require['username'] = 1;
So I don't see what I should change to alter the color or font size?

Jos

Re: error messg color

Posted: 16 Mar 2010, 15:15
by Jan
Hi, I have written cca 216, it can be different on different editors

so it should be this string:

Code: Select all

$smB 				= '<small style="color:#fc0000;">';
Do you see the last stable release?

Re: error messg color

Posted: 16 Mar 2010, 21:44
by jvroomans
Thanks! I changed the font color. Now I would also like to make a bigger font size to make it easier to read. Could you tell me where I could find that?
Thanks very much for your help and for the great extensions you make!
Jos

Re: error messg color

Posted: 22 Mar 2010, 14:58
by Jan
Just use css for styling it.

font-size: ...px etc.

Jan