Title: Plugin CSS breaks wp backend display
Last modified: June 13, 2019

---

# Plugin CSS breaks wp backend display

 *  Resolved [Larzans](https://wordpress.org/support/users/larzans/)
 * (@larzans)
 * [6 years, 12 months ago](https://wordpress.org/support/topic/plugin-css-breaks-wp-backend-display/)
 * Hi, as i said, great plugin, just some polishing needed 😉
 * Because you didn’t wrap your settings in a custom class and edited the general
   wp classes the display breaks in a few places (namely some wp boxes in the right
   column, ACF fields, dunno what else).
 * For your copy + paste convenience here the necessary changes to easily apply:
 * **wp-rest-api-security.php**
 * Replaec line 256 with: `<div class="wrap wp-rest-api-security--settings">`
 * **style.css**
    Replace content with:
 *     ```
       .wp-rest-api-security--settings #poststuff {
         border-spacing: 0;
         border-collapse: collapse;
       }
       .wp-rest-api-security--settings #poststuff tr:nth-child(odd) {
         background-color: #f9f9f9;
       }
       .wp-rest-api-security--settings #poststuff th,
       .wp-rest-api-security--settings #poststuff td {
         padding: 0 0.5em;
       }
       .wp-rest-api-security--settings #poststuff th.endpoint {
         text-align: left;
       }
       .wp-rest-api-security--settings #poststuff td {
         text-align: center;
       }
       .wp-rest-api-security--settings #poststuff td.endpoint {
         font-family: monospace;
         text-align: left;
       }
       .wp-rest-api-security--settings #poststuff td label {
         font-weight: normal;
       }
       .wp-rest-api-security--settings .postbox .inside {
         text-align: right;
       }
       ```
   
 * P.s.: i’d be happy to help you with the further development of the plugin if 
   you are interested. Cheers
    -  This topic was modified 6 years, 12 months ago by [Larzans](https://wordpress.org/support/users/larzans/).
    -  This topic was modified 6 years, 12 months ago by [Larzans](https://wordpress.org/support/users/larzans/).
    -  This topic was modified 6 years, 12 months ago by [Larzans](https://wordpress.org/support/users/larzans/).

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

 *  Plugin Author [invisnet](https://wordpress.org/support/users/invisnet/)
 * (@invisnet)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/plugin-css-breaks-wp-backend-display/#post-11824441)
 * Fixed in 1.1.1.
 * The repo is on GitHub – suggestions and PRs welcome.
 *  Thread Starter [Larzans](https://wordpress.org/support/users/larzans/)
 * (@larzans)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/plugin-css-breaks-wp-backend-display/#post-12405783)
 * Great.
 * And in case that anyone else is wondering where to find this GitRepo, here is
   the actual link (wasn’t that easy to find, google didn’t know about it, had to
   go over the invisnet github account)
 * [https://github.com/invisnet/wp-rest-api-security](https://github.com/invisnet/wp-rest-api-security)

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

The topic ‘Plugin CSS breaks wp backend display’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-rest-api-security.svg)
 * [WP REST API Security](https://wordpress.org/plugins/wp-rest-api-security/)
 * [Support Threads](https://wordpress.org/support/plugin/wp-rest-api-security/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-rest-api-security/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-rest-api-security/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-rest-api-security/reviews/)

 * 2 replies
 * 1 participant
 * Last reply from: [Larzans](https://wordpress.org/support/users/larzans/)
 * Last activity: [6 years, 4 months ago](https://wordpress.org/support/topic/plugin-css-breaks-wp-backend-display/#post-12405783)
 * Status: resolved