By stevekerouac on
I've tried searching for an answer to this to no avail.
I want to customise the appearance of status messages such as:
"The forum Discussion has been updated."
"The Page has been updated."
"Your password and further instructions have been sent to your e-mail address."
They typically use div class="messages status" and print the dialog-information_i.gif
I cannot find the CSS that is formatting them anywhere.
Comments
Use Firebug
http://www.getfirebug.com/
It is a must for any CSS work. It will tell you exactly which style from which stylesheets apply to any element.
The exact CSS to change will depend on the theme you use.
--
Anton
New to Drupal? | Troubleshooting FAQ
Example knowledge base built with Drupal
Thanks - Had just started using it this morning
Yes, since I discovered Firebug about two hours ago I've achieved more than the previous two days. But do you know where the code that generates the actual icon and text of status messages comes from? I don't want to use Locale...
Theme overrides
You'll want to override this function in your theme:
http://api.drupal.org/api/function/theme_status_messages/5
More info:
http://drupal.org/node/11811
And the sample chapter of the Pro Drupal Development book was on theming.
--
Anton
New to Drupal? | Troubleshooting FAQ
Example knowledge base built with Drupal