Title: Admin CSS
Last modified: December 26, 2024

---

# Admin CSS

 *  Resolved [Wombat Plugins](https://wordpress.org/support/users/maartenbelmans/)
 * (@maartenbelmans)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/admin-css-6/)
 * Hi team,
   I’d like to discuss 2 issues:1) In the admin, your CSS files are included
   on every admin page, including CPT pages. Shouldn’t it only be included on the
   pages you add options to? 2) One of your CSS files is including this CSS: [https://i.snipboard.io/Zo7Iaw.jpg](https://i.snipboard.io/Zo7Iaw.jpg)
   Since it is not prefixed and loaded on every page, this is messing with a plugin
   I use. That plugin also adds a page to the admin and your CSS is loading on it
   and hiding that plugin’s divs since “data-steps” is quite “universal” 🙂 Thanks!

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

 *  [Eduard](https://wordpress.org/support/users/cteduard/)
 * (@cteduard)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/admin-css-6/#post-18216246)
 * Hello [@maartenbelmans](https://wordpress.org/support/users/maartenbelmans/)
 * Sure, we can take a look at this. Could you please let me know which plugin is
   the CSS conflicting with?
 * Thanks!
 *  Thread Starter [Wombat Plugins](https://wordpress.org/support/users/maartenbelmans/)
 * (@maartenbelmans)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/admin-css-6/#post-18216253)
 * Hi [@cteduard](https://wordpress.org/support/users/cteduard/)
 * [This one](https://www.studiowombat.com/plugin/woocommerce-discounts/), but it
   will be _any_ plugin that adds HTML with a `data-steps` attribute. Any plugin
   that’s adding multi-step wizards is potentially affected by this as “data-steps”
   is a fairly common attribute name.
   Ideally, you only run your CSS on the admin
   pages it is needed and you prefix general rules so it is only applies to your
   HTML elements. Example: `.blocksy-container [data-steps] div {...}`Thanks!
 *  [Eduard](https://wordpress.org/support/users/cteduard/)
 * (@cteduard)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/admin-css-6/#post-18216278)
 * Hello [@maartenbelmans](https://wordpress.org/support/users/maartenbelmans/)
 * Thanks for letting me know. However, I would also argue that the plugin itself
   might need to prefix their declarations. This goes both ways, I’m afraid.
 * Nevertheless, the developers have managed to prefix these declarations and the
   next public update will include them. If you wish to get a pre-release build 
   of the update, you will need to drop us a line through our website: [https://creativethemes.com/blocksy/support/](https://creativethemes.com/blocksy/support/),
   as giving .zip files through these forums isn’t really permitted.
 * On the note of loading assets on the admin pages, I have started an internal 
   discussion to see how we can tackle these. I will be sure to share with you our
   findings once we have something.
 * Thanks!
 *  Thread Starter [Wombat Plugins](https://wordpress.org/support/users/maartenbelmans/)
 * (@maartenbelmans)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/admin-css-6/#post-18216300)
 * Hi [@cteduard](https://wordpress.org/support/users/cteduard/) 
   Thanks for that!
   Looking forward to the update. On your first comment: WooCommerce Discounts is
   correctly prefixing its CSS by using `.wdp-` for elements that may otherwise 
   conflict. It is your plugin that’s using `[data-steps]` in CSS directly, so this
   is a one way issue here I’m afraid and all yours to fix. 🙂

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

The topic ‘Admin CSS’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/blocksy/2.1.41/screenshot.jpg)
 * Blocksy
 * [Support Threads](https://wordpress.org/support/theme/blocksy/)
 * [Active Topics](https://wordpress.org/support/theme/blocksy/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/blocksy/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/blocksy/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Wombat Plugins](https://wordpress.org/support/users/maartenbelmans/)
 * Last activity: [1 year, 4 months ago](https://wordpress.org/support/topic/admin-css-6/#post-18216300)
 * Status: resolved