Title: General CSS class for message wrapper
Last modified: January 9, 2025

---

# General CSS class for message wrapper

 *  [cutu234](https://wordpress.org/support/users/cutu234/)
 * (@cutu234)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/general-css-class-for-message-wrapper/)
 * Hi,
 * thank you very much for the great plugin. I absolutely love it and use it on 
   every site that doesn’t need additional features. Here’s an idea for an improvement:
   Could you add a general CSS class to the message box wrapper? Right now, we have
   a class for success or error. That means that we have to repeat the CSS rules.
   Well, yes, I could use :has, but this seems to be a little bit over the top.
 * Instead of this:
 * `<div id="f92b11b92-1" style="display: block;" class="ef-success">Text</div>`
 * This would be even better:
 * `<div id="f92b11b92-1" style="display: block;" class="ef-success ef-message">
   Text</div>`
 * We could then use the general class for the, well, general rules and the specific
   class for the colors.
 * Thank you!
    -  This topic was modified 1 year, 4 months ago by [cutu234](https://wordpress.org/support/users/cutu234/).

The topic ‘General CSS class for message wrapper’ is closed to new replies.

 * ![](https://ps.w.org/essential-form/assets/icon-256x256.png?rev=2872333)
 * [Essential Form - The lightest plugin for contact forms, ultra lightweight and no spam](https://wordpress.org/plugins/essential-form/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/essential-form/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/essential-form/)
 * [Active Topics](https://wordpress.org/support/plugin/essential-form/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/essential-form/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/essential-form/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [cutu234](https://wordpress.org/support/users/cutu234/)
 * Last activity: [1 year, 4 months ago](https://wordpress.org/support/topic/general-css-class-for-message-wrapper/)
 * Status: not resolved