Title: Admin CSS Targeting Global WP Elements
Last modified: June 5, 2025

---

# Admin CSS Targeting Global WP Elements

 *  Resolved [wpexplorer](https://wordpress.org/support/users/wpexplorer/)
 * (@wpexplorer)
 * [10 months ago](https://wordpress.org/support/topic/admin-css-targeting-global-wp-elements/)
 * Hi there,
 * It looks like some of the CSS in assets/css/fsdt-backend.css is not targeting
   your fsdt-wrap so the styles get applied globally. For example:
 *     ```wp-block-code
       .nav-tab-wrapper,.wrap h2.nav-tab-wrapper,h1.nav-tab-wrapper {  background-color: #fff;  border-bottom: 1px solid #eeeeee;  margin: 0;  padding-top: 0px;  padding-bottom: 0;  line-height: inherit;  border-top: none;}
       ```
   
 * This coded causes display issues with tabs added by other themes/plugins and 
   WP core.
 * Ideally, the `fsdt-backend.css` file should only be loaded on specific admin 
   pages where it’s needed. Currently, it is being enqueued across the entire admin
   area via the `register_fsdt_admin_assets` function.
 * To improve performance and reduce the risk of conflicts, it’s recommended to 
   add a conditional check at the top of that function using the `$hook_suffix` 
   parameter. This ensures that the styles are only loaded on relevant admin screens.
 *  for more details on targeting specific admin pages.
    - AJ
 * ps: I’m not using your plugin, but I noticed the issue on a customer’s site.

Viewing 1 replies (of 1 total)

 *  Plugin Support [aacesc](https://wordpress.org/support/users/aacesc/)
 * (@aacesc)
 * [10 months ago](https://wordpress.org/support/topic/admin-css-targeting-global-wp-elements/#post-18500828)
 * Hello [@wpexplorer](https://wordpress.org/support/users/wpexplorer/) 
   Thank you
   very much for notifying us regarding the issue. We have just released an update
   with the fix as per your suggestion for just loading the CSS files in the necessary
   admin pages.Please update and let us know if the issue has been fixed or not.
   Thanks.

Viewing 1 replies (of 1 total)

The topic ‘Admin CSS Targeting Global WP Elements’ is closed to new replies.

 * ![](https://ps.w.org/floating-side-tab/assets/icon-256x256.png?rev=3053118)
 * [Floating Side Tab](https://wordpress.org/plugins/floating-side-tab/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/floating-side-tab/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/floating-side-tab/)
 * [Active Topics](https://wordpress.org/support/plugin/floating-side-tab/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/floating-side-tab/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/floating-side-tab/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [aacesc](https://wordpress.org/support/users/aacesc/)
 * Last activity: [10 months ago](https://wordpress.org/support/topic/admin-css-targeting-global-wp-elements/#post-18500828)
 * Status: resolved