Title: Hide Message Border
Last modified: August 1, 2026

---

# Hide Message Border

 *  Resolved [rene-michaels](https://wordpress.org/support/users/rene-michaels/)
 * (@rene-michaels)
 * [1 month ago](https://wordpress.org/support/topic/hide-message-border/)
 * Is there a way to hide the blue border displayed to the left of the Message?
 * I tried adding the following CSS but it didn’t work:
 * .login .message, .login .notice, .login .success
    Specificity: (0,2,0) { border-
   left: 0px; }

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

 *  Plugin Support [Jair – WPMU DEV Support](https://wordpress.org/support/users/wpmudevsupport15/)
 * (@wpmudevsupport15)
 * [1 month ago](https://wordpress.org/support/topic/hide-message-border/#post-18981553)
 * Hello [@rene-michaels](https://wordpress.org/support/users/rene-michaels/)
 * Branda has a feature that allows you to apply custom CSS code for internal pages
   of the WP Admin Dashboard:
   [https://wpmudev.com/docs/wpmu-dev-plugins/branda/#custom-css](https://wpmudev.com/docs/wpmu-dev-plugins/branda/#custom-css)
   Such feature should help you to hide messages like this, as long as there is 
   a way to select them using CSS (sometimes it can be tricky because WordPress 
   core didn’t added a specific class or id for these messages).
 * We may not be able to assist you with the specific CSS code, but I can see that
   the “border-left” property may not work, please try with the “border-left-width”
   property instead:
   [https://www.w3schools.com/cssref/pr_border-left_width.php](https://www.w3schools.com/cssref/pr_border-left_width.php)
 * Kind regards,
   Jair.
 *  Thread Starter [rene-michaels](https://wordpress.org/support/users/rene-michaels/)
 * (@rene-michaels)
 * [1 month ago](https://wordpress.org/support/topic/hide-message-border/#post-18982890)
 * I was hoping you could provide the correct CSS to do this since there is no color
   option in the plugin settings. It appears the class is:
 * .login .message, .login .notice, .login .success {
    border-left: 4px solid #3858e9;
   padding: 8px 12px; margin-top: 0; margin-left: 0; margin-bottom: 20px; background-
   color: #fff; word-wrap: break-word; }
 * I have tried:
 * .login .message, .login .notice, .login .success {
    border-left: none; }
 * But that didn’t work. Any other suggestions?
 *  Plugin Support [Fida – WPMU DEV Support](https://wordpress.org/support/users/fidawpmudev/)
 * (@fidawpmudev)
 * [1 month ago](https://wordpress.org/support/topic/hide-message-border/#post-18983244)
 * Hello [@rene-michaels](https://wordpress.org/support/users/rene-michaels/) ,
 * I hope you are doing well.
 * It seems your login selector is wrong. Instead of using a class, please try with
   ID.
 * E.g., #login .message, #login .notice, #login .success
 * Kind Regards,
    Fida Al Hasan
 *  Thread Starter [rene-michaels](https://wordpress.org/support/users/rene-michaels/)
 * (@rene-michaels)
 * [1 month ago](https://wordpress.org/support/topic/hide-message-border/#post-18983915)
 * Still no luck. The “message” element itself has no ID.
 * Here is a copy of the element:
    <div class=”message”><p>Test</p></div>
 * Here is a copy of the styles:
    color: #3c434a; font-family: -apple-system,BlinkMacSystemFont,”
   Segoe UI”,Roboto,Oxygen-Sans,Ubuntu,Cantarell,”Helvetica Neue”,sans-serif; font-
   size: 13px; line-height: 1.4; –wp-admin-theme-color: #3858e9; –wp-admin-theme-
   color–rgb: 56,88,233; –wp-admin-theme-color-darker-10: #2145e6; –wp-admin-theme-
   color-darker-10–rgb: 33.0384615385,68.7307692308,230.4615384615; –wp-admin-theme-
   color-darker-20: #183ad6; –wp-admin-theme-color-darker-20–rgb: 23.6923076923,58.1538461538,214.3076923077;–
   wp-admin-border-width-focus: 2px; margin: 0; border-left: 4px solid #3858e9; 
   padding: 8px 12px; margin-top: 0; margin-left: 0; margin-bottom: 20px; background-
   color: #fff; word-wrap: break-word;
 *  Plugin Support [Fida – WPMU DEV Support](https://wordpress.org/support/users/fidawpmudev/)
 * (@fidawpmudev)
 * [1 month ago](https://wordpress.org/support/topic/hide-message-border/#post-18984236)
 * Hello [@rene-michaels](https://wordpress.org/support/users/rene-michaels/) ,
 * Thank you for the update.
 * In your previous CSS code, you were using the following selectors.
 * `.login .message, .login .notice, .login .success`
 * Here, **.login** means you are targeting the login class. However, WordPress 
   Login/Registrator forms use the login CSS ID. So, you will need to use **#login**
   to select the login CSS ID.
 * Please check this screenshot: [https://prnt.sc/iJALkSSbmjJU](https://prnt.sc/iJALkSSbmjJU)
 * Kind Regards,
    Fida Al Hasan
 *  Thread Starter [rene-michaels](https://wordpress.org/support/users/rene-michaels/)
 * (@rene-michaels)
 * [1 month ago](https://wordpress.org/support/topic/hide-message-border/#post-18984849)
 * I understand, but that still didn’t work.
 * No worries, I figured it out with Claude’s help. For others out there trying 
   to do this the correct CSS is:
 * body.login #login .message,
    body.login #login .notice, body.login #login .success{
   border-left: none !important; }
 * **NOTE:** This in Branda’s Custom CSS section under the Login page settings specifically,
   not in your WordPress Additional CSS, since this is a login page style and needs
   to be scoped there.
 *  Plugin Support [Saurabh – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support7/)
 * (@wpmudev-support7)
 * [1 month ago](https://wordpress.org/support/topic/hide-message-border/#post-18985497)
 * Hello [@rene-michaels](https://wordpress.org/support/users/rene-michaels/),
 * Glad to know that you were able to resolve the issue. Thank you for sharing an
   update.
 * Please feel free to let us know if you need further help. However, please note,
   sharing a full working custom code solution is outside of the scope of support
   we can provide, but we will try to point you in the correct direction.
 * Kind Regards,
    Saurabh

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

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fhide-message-border%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/branda-white-labeling/assets/icon-256x256.gif?rev=3407049)
 * [Branda – White Label & Branding, Free Login Page Customizer](https://wordpress.org/plugins/branda-white-labeling/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/branda-white-labeling/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/branda-white-labeling/)
 * [Active Topics](https://wordpress.org/support/plugin/branda-white-labeling/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/branda-white-labeling/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/branda-white-labeling/reviews/)

 * 7 replies
 * 4 participants
 * Last reply from: [Saurabh – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support7/)
 * Last activity: [1 month ago](https://wordpress.org/support/topic/hide-message-border/#post-18985497)
 * Status: resolved