SimplePortal
Development => Feature Requests => Topic started by: AngelinaBelle on April 12, 2010, 11:12:26 AM
-
In this example (http://simpleportal.net/index.php?topic=5160.0 (http://simpleportal.net/index.php?topic=5160.0)) the site owner wants to change the shoutbox text size.
Each shout is in <li class=smalltext>. But if it were in <li class=shoutbox_shout>, it would be very easy for the the admin to change the font size of the shouts without affecting the size of any other text.
As it is, one can use .shoutbox_body li or .shoutbox_list_compact li to make the list item text smaller, but that could also affect the text in the shoutbox warning.
-
You could actually do that. This will change the size for all items:
ul.shoutbox_list_compact li.smalltext
{
font-size: 10pt;
}
After that you can reset the shoutbox warning:
ul.shoutbox_list_compact li.shoutbox_warning
{
font-size: 8pt;
}
You could even change
ul.shoutbox_list_compact
as
ul#shouts_{shoutbox_id}
in the above code and define different styles for different shoutboxes.
-
cool, got it..