Title: Error/Message Box styling
Last modified: August 19, 2016

---

# Error/Message Box styling

 *  [Mpressme](https://wordpress.org/support/users/mpressme/)
 * (@mpressme)
 * [17 years, 2 months ago](https://wordpress.org/support/topic/errormessage-box-styling/)
 * There is this error/message box that pops into the log in screen when a user 
   selects “Lost Password”. How in the world do you style that error message box?
 * I’ve tried adding “p.message” style into my theme style sheet, but no luck.
 * Does anyone, please, have any suggestions.
 * Thanks,
    Frustrated in Atlanta!

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [popper](https://wordpress.org/support/users/julialasarte/)
 * (@julialasarte)
 * [17 years, 2 months ago](https://wordpress.org/support/topic/errormessage-box-styling/#post-1047844)
 * You can’t style that class from your theme. The style sheet that styles that 
   error message is wp-admin/css/login.css, look for the class .message and edit
   there.
 * Hope that helps!
 * Julia.
 *  Thread Starter [Mpressme](https://wordpress.org/support/users/mpressme/)
 * (@mpressme)
 * [17 years, 2 months ago](https://wordpress.org/support/topic/errormessage-box-styling/#post-1047890)
 * Hi Julia,
 * You know I thought that would be the obvious place to look, and I changed that
   and still nothing ;(.
 * This is what I have now:
 *     ```
       #login_error, .message {
       	margin: 0 0 16px 8px;
       	padding: 12px;
       	-moz-border-radius: 3px;
       	-khtml-border-radius: 3px;
       	-webkit-border-radius: 3px;
       	background-color: #000;
       }
       ```
   
 * Any other ideas?
 * Thanks again,
 * M
 *  [popper](https://wordpress.org/support/users/julialasarte/)
 * (@julialasarte)
 * [17 years, 2 months ago](https://wordpress.org/support/topic/errormessage-box-styling/#post-1047907)
 * Maybe you have to change it in the style sheet for the admin color scheme, classic/
   fresh? I don’t remember where those are.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Error/Message Box styling’ is closed to new replies.

## Tags

 * [css](https://wordpress.org/support/topic-tag/css/)
 * [message](https://wordpress.org/support/topic-tag/message/)
 * [password](https://wordpress.org/support/topic-tag/password/)
 * [styling](https://wordpress.org/support/topic-tag/styling/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [popper](https://wordpress.org/support/users/julialasarte/)
 * Last activity: [17 years, 2 months ago](https://wordpress.org/support/topic/errormessage-box-styling/#post-1047907)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
