Hi,
How can I change the color and font size of error messages?
Thanks!
error messg color
- Jan
- Phoca Hero
- Posts: 48726
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: error messg color
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
\components\com_phocaguestbook\views\phocaguestbook\view.html.php
line cca 216
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 3
- Joined: 12 Mar 2010, 23:45
Re: error messg color
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

$require['username'] = 1;
So I don't see what I should change to alter the color or font size?
Jos
- Jan
- Phoca Hero
- Posts: 48726
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: error messg color
Hi, I have written cca 216, it can be different on different editors
so it should be this string:
Do you see the last stable release?
so it should be this string:
Code: Select all
$smB = '<small style="color:#fc0000;">';
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 3
- Joined: 12 Mar 2010, 23:45
Re: error messg color
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
Thanks very much for your help and for the great extensions you make!
Jos
- Jan
- Phoca Hero
- Posts: 48726
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: error messg color
Just use css for styling it.
font-size: ...px etc.
Jan
font-size: ...px etc.
Jan
If you find Phoca extensions useful, please support the project