the login message comes up with the username italicized. How do I remove the italics?
thanks.

Comments

metzlerd’s picture

Can't really change this. This is part of drupals set_message function call. You might be able to override this behavior for drupal messages with css in your theme however. It will of course affect all messages that drupal sets, not just the login message.

Anonymous’s picture

Thanks. Don't think the override will work as the style is hardcoded inline as

logged in as <em>username</em>

its the inline em tags I want to get rid of.

thanks

metzlerd’s picture

Actually you can. Something like:

.messages em {
font-style: normal;
}

Will override the display of em tags to be normal within the div classed as messages. I tested this using firebug and it works. Ahh the power of css.

Dave

Anonymous’s picture

Status: Active » Fixed

You are a star - that's it exactly. thanks!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.