Title: No CSS in adminnistration
Last modified: February 6, 2024

---

# No CSS in adminnistration

 *  Resolved [wextercz](https://wordpress.org/support/users/wextercz/)
 * (@wextercz)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/no-css-in-adminnistration/)
 * [https://prnt.sc/kXMR5g8jkAnW](https://prnt.sc/kXMR5g8jkAnW)
 * Hello, i have a problem with CSS not displaying in administration.

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

 *  Thread Starter [wextercz](https://wordpress.org/support/users/wextercz/)
 * (@wextercz)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/no-css-in-adminnistration/#post-17402209)
 *     ```wp-block-code
       ` wp-core
   
       version: 6.4.3site_language: cs_CZuser_language: cs_CZtimezone: +02:00permalink: /%postname%/https_status: truemultisite: falseuser_registration: 0blog_public: 1default_comment_status: undefinedenvironment_type: productionuser_count: 1734dotorg_communication: true wp-paths-sizes
   
       wordpress_path: /data/web/virtuals/299085/virtual/wwwwordpress_size: 1,19 GB (1277110358 bytes)uploads_path: /data/web/virtuals/299085/virtual/www/wp-content/uploadsuploads_size: 3,52 GB (3778647724 bytes)themes_path: /data/web/virtuals/299085/virtual/www/wp-content/themesthemes_size: 8,25 MB (8647769 bytes)plugins_path: /data/web/virtuals/299085/virtual/www/wp-content/pluginsplugins_size: 265,27 MB (278153557 bytes)database_size: 1,23 GB (1321439148 bytes)total_size: 6,21 GB (6663998556 bytes) wp-dropins (1)
   
       advanced-cache.php: true wp-active-theme
   
       name: Divi (Divi)version: 4.23.4 (latest version: 4.24)author: Elegant Themesauthor_website: http://www.elegantthemes.comparent_theme: nonetheme_features: core-block-patterns, block-templates, widgets-block-editor, post-thumbnails, custom-background, automatic-feed-links, menus, title-tag, post-formats, woocommerce, wc-product-gallery-zoom, wc-product-gallery-lightbox, wc-product-gallery-slider, customize-selective-refresh-widgets, wp-block-styles, editor-style, widgetstheme_path: /data/web/virtuals/299085/virtual/www/wp-content/themes/Diviauto_update: Deaktivováno wp-themes-inactive (3)
   
       XTRA: version: 4.5.5, author: Codevz, Automatické aktualizace zakázányTwenty Twenty-Four: version: 1.0, author: Vývojáři WordPressu (a překladatelé), Automatické aktualizace zakázányTwenty Twenty-Three: version: 1.3, author: Vývojáři WordPressu (a překladatelé), Automatické aktualizace zakázány wp-plugins-active (40)
   
       Auto Coupons for WooCommerce: version: 2.4.1, author: RLDD, Automatické aktualizace zakázányBulky - Bulk Edit Products for WooCommerce: version: 1.1.7, author: VillaTheme, Automatické aktualizace zakázányClassic Editor: version: 1.6.3, author: WordPress Contributors, Automatické aktualizace povolenyCookies and Content Security Policy: version: 2.22, author: Jonk @ Follow me Darling, Automatické aktualizace zakázányDisable Cart Fragments: version: 2.3, author: Optimocha, Automatické aktualizace zakázányFacebook for WooCommerce: version: 3.1.9, author: Facebook, Automatické aktualizace povolenyFile Upload Types: version: 1.3.0, author: WPForms, Automatické aktualizace zakázányFlexible Shipping: version: 4.24.10, author: Octolize, Automatické aktualizace zakázányFlexible Shipping PRO: version: 2.17.3, author: Octolize, Automatické aktualizace zakázányFluent Forms: version: 5.1.9, author: Contact Form - WPManageNinja LLC, Automatické aktualizace zakázányForminator: version: 1.29.0, author: WPMU DEV, Automatické aktualizace zakázányLoco Translate: version: 2.6.6, author: Tim Whitlock, Automatické aktualizace zakázányMailPoet: version: 4.42.1, author: MailPoet, Automatické aktualizace povolenyMailPoet Premium: version: 4.42.0, author: MailPoet, Automatické aktualizace zakázányMenu Cart Module Divi: version: 1.1, author: learnhowwp.com, Automatické aktualizace zakázányOrder Tip for WooCommerce: version: 1.3.1, author: Adrian Emil Tudorache, Automatické aktualizace zakázányPayment Methods by Product & Country for WooCommerce: version: 1.7.8, author: WPFactory, Automatické aktualizace povolenyPopups for Divi: version: 3.0.5, author: divimode.com, Automatické aktualizace zakázányProduct Table for WooCommerce by CodeAstrology (WooproductTable): version: 3.4.7, author: CodeAstrology Team, Automatické aktualizace zakázányRank Math SEO: version: 1.0.212, author: Rank Math, Automatické aktualizace zakázányRedirection: version: 5.4.2, author: John Godley, Automatické aktualizace zakázányShortcodes to show or hide content: version: 2.5, author: Dave Clements, Automatické aktualizace povolenySmart Coupons for WooCommerce Pro: version: 2.0.8, author: WebToffee, Automatické aktualizace zakázányToret GP webpay: version: 1.5.5, author: toret.cz (latest version: 1.6.4), Automatické aktualizace zakázányToret Phone: version: 1.0.3, author: toret.cz (latest version: 1.0.7), Automatické aktualizace zakázányVarkTech Pricing Deals for WooCommerce: version: 2.0.3.2, author: Vark, Automatické aktualizace zakázányVarkTech Pricing Deals PRO for WooCommerce: version: 2.0.3, author: VarkTech, Automatické aktualizace zakázányWC Minimum Order Amount: version: 1.1, author: Hannah Swain, Automatické aktualizace zakázányWooCommerce: version: 8.5.2, author: Automattic, Automatické aktualizace povolenyWooCommerce - PDF Vouchers: version: 4.4.2, author: WPWeb, Automatické aktualizace zakázányWooCommerce Free Gift Coupons: version: 2.4.3, author: Kathy Darling, Automatické aktualizace zakázányWooCommerce Google Analytics Integration: version: 1.8.13, author: WooCommerce, Automatické aktualizace zakázányWooCommerce PDF Vouchers - Redeem Voucher on Cart Total: version: 1.0.0, author: WPWeb, Automatické aktualizace zakázányWooCommerce Product Fees: version: 1.3.0, author: Caleb Burks, Automatické aktualizace zakázányWoo Store Vacation: version: 1.9.3, author: MyPreview, Automatické aktualizace zakázányWordPress Importer: version: 0.8.2, author: wordpressdotorg, Automatické aktualizace zakázányWP Date and Time Shortcode: version: 2.6.5, author: Denra.com aka SoftShop Ltd., Automatické aktualizace zakázányWPify Woo: version: 4.0.8, author: WPify s.r.o., Automatické aktualizace zakázányWpify Woo Sodexo: version: 2.0.0, author: WPify, Automatické aktualizace zakázányWP Mail SMTP: version: 3.11.1, author: WP Mail SMTP, Automatické aktualizace zakázány wp-plugins-inactive (7)
   
       Advanced Cron Manager: version: 2.5.2, author: BracketSpace, Automatické aktualizace zakázányBEAR – Bulk Editor and Products Manager Professional for WooCommerce: version: 1.1.4.1, author: realmag777 (latest version: 1.1.4.2), Automatické aktualizace zakázányClassic Widgets: version: 0.3, author: WordPress Contributors, Automatické aktualizace zakázányLiteSpeed Cache: version: 6.1, author: LiteSpeed Technologies, Automatické aktualizace zakázánySmart Coupons For WooCommerce Coupons: version: 1.6.0, author: WebToffee, Automatické aktualizace zakázányWP Rocket: version: 3.15.3, author: WP Media, Automatické aktualizace zakázányWP Sheet Editor - WooCommerce Products: version: 1.8.9, author: WP Sheet Editor, Automatické aktualizace zakázány wp-media
   
       image_editor: WP_Image_Editor_Imagickimagick_module_version: 1808imagemagick_version: ImageMagick 7.1.0-50 beta Q16-HDRI x86_64 20489 https://imagemagick.orgimagick_version: 3.7.0file_uploads: 1post_max_size: 512Mupload_max_filesize: 512Mmax_effective_size: 512 MBmax_file_uploads: 20imagick_limits:imagick::RESOURCETYPE_AREA: 125 GBimagick::RESOURCETYPE_DISK: 9.2233720368548E+18imagick::RESOURCETYPE_FILE: 30720imagick::RESOURCETYPE_MAP: 125 GBimagick::RESOURCETYPE_MEMORY: 63 GBimagick::RESOURCETYPE_THREAD: 1imagick::RESOURCETYPE_TIME: 9.2233720368548E+18imagemagick_file_formats: 3FR, 3G2, 3GP, A, AAI, AI, APNG, ART, ARW, ASHLAR, AVI, AVS, B, BAYER, BAYERA, BGR, BGRA, BGRO, BMP, BMP2, BMP3, BRF, C, CAL, CALS, CANVAS, CAPTION, CIN, CIP, CLIP, CMYK, CMYKA, CR2, CR3, CRW, CUBE, CUR, CUT, DATA, DCM, DCR, DCRAW, DCX, DDS, DFONT, DNG, DPX, DXT1, DXT5, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EPT2, EPT3, ERF, FARBFELD, FAX, FF, FILE, FITS, FL32, FLV, FRACTAL, FTP, FTS, FTXT, G, G3, G4, GIF, GIF87, GRADIENT, GRAY, GRAYA, GROUP4, HALD, HDR, HISTOGRAM, HRZ, HTM, HTML, HTTP, HTTPS, ICB, ICO, ICON, IIQ, INFO, INLINE, IPL, ISOBRL, ISOBRL6, JNG, JNX, JPE, JPEG, JPG, JPS, JSON, K, K25, KDC, LABEL, M, M2V, M4V, MAC, MAP, MASK, MAT, MATTE, MEF, MIFF, MKV, MNG, MONO, MOV, MP4, MPC, MPEG, MPG, MRW, MSL, MSVG, MTV, MVG, NEF, NRW, NULL, O, ORA, ORF, OTB, OTF, PAL, PALM, PAM, PANGO, PATTERN, PBM, PCD, PCDS, PCL, PCT, PCX, PDB, PDF, PDFA, PEF, PES, PFA, PFB, PFM, PGM, PGX, PHM, PICON, PICT, PIX, PJPEG, PLASMA, PNG, PNG00, PNG24, PNG32, PNG48, PNG64, PNG8, PNM, POCKETMOD, PPM, PS, PS2, PS3, PSB, PSD, PTIF, PWP, QOI, R, RADIAL-GRADIENT, RAF, RAS, RAW, RGB, RGB565, RGBA, RGBO, RGF, RLA, RLE, RMF, RW2, SCR, SCREENSHOT, SCT, SFW, SGI, SHTML, SIX, SIXEL, SPARSE-COLOR, SR2, SRF, STEGANO, STRIMG, SUN, SVG, SVGZ, TEXT, TGA, THUMBNAIL, TIFF, TIFF64, TILE, TIM, TM2, TTC, TTF, TXT, UBRL, UBRL6, UIL, UYVY, VDA, VICAR, VID, VIFF, VIPS, VST, WBMP, WEBM, WMV, WPG, X, X3F, XBM, XC, XCF, XPM, XPS, XV, XWD, Y, YAML, YCbCr, YCbCrA, YUVgd_version: bundled (2.1.0 compatible)gd_formats: GIF, JPEG, PNG, WebP, BMPghostscript_version: unknown wp-server
   
       server_architecture: Linux 5.4.0-109-generic x86_64httpd_software: Apachephp_version: 8.0.27 64bitphp_sapi: fpm-fcgimax_input_variables: 10000time_limit: 300memory_limit: 1024Mmax_input_time: 30upload_max_filesize: 512Mphp_post_max_size: 512Mcurl_version: 7.29.0 NSS/3.36suhosin: falseimagick_availability: truepretty_permalinks: truehtaccess_extra_rules: truecurrent: 2024-02-06T11:48:15+00:00utc-time: Tuesday, 06-Feb-24 11:48:15 UTCserver-time: 2024-02-06T13:48:11+02:00 wp-database
   
       extension: mysqliserver_version: 10.3.32-MariaDB-logclient_version: mysqlnd 8.0.27max_allowed_packet: 16777216max_connections: 1000 wp-constants
   
       WP_HOME: undefinedWP_SITEURL: undefinedWP_CONTENT_DIR: /data/web/virtuals/299085/virtual/www/wp-contentWP_PLUGIN_DIR: /data/web/virtuals/299085/virtual/www/wp-content/pluginsWP_MEMORY_LIMIT: 1024MWP_MAX_MEMORY_LIMIT: 1024MWP_DEBUG: falseWP_DEBUG_DISPLAY: trueWP_DEBUG_LOG: falseSCRIPT_DEBUG: falseWP_CACHE: falseCONCATENATE_SCRIPTS: undefinedCOMPRESS_SCRIPTS: undefinedCOMPRESS_CSS: undefinedWP_ENVIRONMENT_TYPE: NedefinovánoWP_DEVELOPMENT_MODE: undefinedDB_CHARSET: utf8DB_COLLATE: utf8_general_ci wp-filesystem
   
       wordpress: writablewp-content: writableuploads: writableplugins: writablethemes: writable wp_mail_smtp
   
       version: 3.11.1license_key_type: litedebug: No debug notices found.
       ```
   
 *  Plugin Support [Laura – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support8/)
 * (@wpmudev-support8)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/no-css-in-adminnistration/#post-17402400)
 * Hi [@wextercz](https://wordpress.org/support/users/wextercz/)
 * I hope you’re well today!
 * I can already tell based on the screenshot that you provided (in context of past
   experience with multiple similar issues) that in majority of cases this is caused
   by a conflict on site.
 * Since you provided the environment information, I checked it and I see that PHP
   and WordPress versions are good enough and most of other settings seem correct.
   Divi itself shouldn’t be a problem here either.
 * The list of plugins, however, is quite long and while I don’t see any plugin 
   that’s well known to cause such conflict, it’s possible that the conflict involves
   a combination of two or more plugins or it’s something new that we are not aware
   of yet.
 * At this point, there’ll be a full plugin conflict test necessary:
 * – clear all caches on site/server and disable all the plugin except Forminator
   –
   it should start working fine – start enabling plugins back one by one, after 
   each one checking for the issue – when it starts happening again, you’d know 
   that the last enabled plugin right before it is causing the conflict.
 * Let us know about it and we’ll then check it closer to find out why the conflict
   happens and if we could provide solution for it (or if it needs to be fixed in
   that conflicting plugin).
 * Kind regards,
    Adamd
 *  Thread Starter [wextercz](https://wordpress.org/support/users/wextercz/)
 * (@wextercz)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/no-css-in-adminnistration/#post-17403497)
 * Found the conflict.
 * Plugin: Order Tip for WooCommerce
 * Autor: [Adrian Emil Tudorache](https://www.tudorache.me)
 *  Plugin Support [Laura – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support8/)
 * (@wpmudev-support8)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/no-css-in-adminnistration/#post-17405696)
 * Hi [@wextercz](https://wordpress.org/support/users/wextercz/)
 * Thank you for update!
 * I installed that plugin and was able to replicate the issue.
 * Upon closer inspection, it is caused due to the bug in the Order Tip for WooCommerce
   plugin. I’ll explain it below but first, let me share a raw patch for this.
 * We need to restore one of the CSS classes that are missing from the “body” tag
   when this plugin is active so it can be done using this custom code:
 *     ```
       <?php 
   
       function forminator_order_tips_bodyclass_add_sui( $classes ) {
   
       	$classes .= ' sui-2-12-23';
   
       	return $classes;
   
       }
   
       add_action( 'admin_head', 'forminator_order_tips_bodyclass_fix' );
       function forminator_order_tips_bodyclass_fix() { 
   
       	if ( is_plugin_active( 'order-tip-woo/order-tip-for-woocommerce.php' ) ) {
   
       		add_filter( 'admin_body_class', 'forminator_order_tips_bodyclass_add_sui', 9999, 1);
   
       	}
   
       }
       ```
   
 * To add it to site:
 * – create an empty file with a .php extension (e.g. “forminator-ordertips-css-
   hotifx.php”) in the “/wp-content/mu-plugins” folder of your site’s WordPress 
   install
 * – copy and paste above code into it
 * – save the file and clear all caches on site/server
 * It should work out of the box.
 * —-
 * As for the issue itself, it happens because Order Tip for WooCommerce removes
   some of the custom classes (not only related to Forminator actually; it removes
   some other too which may cause similar issues with other plugins too) from the“
   body” tag.
 * It happens because of incorrect use of “admin_body_class” hook in plugin’s code.
   There are two things that need to be corrected in that plugin. Both are in the/
   order-tip-woo/admin/controllers/config.class.php file.
 * 1. In line 32 there is a line
 * `add_action( 'admin_body_class', array( $this, 'admin_body_class' ) );`
 * but it should be
 * `add_filter( 'admin_body_class', array( $this, 'admin_body_class' ) );`
 * because “[admin_body_class](https://developer.wordpress.org/reference/hooks/admin_body_class/)”
   is a filter hook, not action hook. That’s not a big deal but nonetheless, it 
   should be corrected.
 * 2. in “_admin\_body\_class()_” function from line 57:
 * – this function checks if current page is related to Order Tip plugin and if 
   yes, it adds its own classes to existing ones and return everything – which is
   fine and correct
 * – but it doesn’t return anything on other pages; it should return unmodified 
   value of `$classes` variable in every other case.
 * This is a bug and needs to be fixed by the developer of that plugin so please
   feel free to report it to them. In the meantime, provided workaround should do
   the trick.
 * Kind regards,
    Adam
 *  Plugin Support [Williams – WPMU DEV Support](https://wordpress.org/support/users/wpmudevsupport3/)
 * (@wpmudevsupport3)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/no-css-in-adminnistration/#post-17434419)
 * Hi [@wextercz](https://wordpress.org/support/users/wextercz/),
 * We haven’t heard from you in a while, I’ll go and mark this thread as resolved.
   Note that you can still reply on this topic.
 * If you have any additional questions or require further help, please let us know!
 * Best regards,
    Laura

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

The topic ‘No CSS in adminnistration’ is closed to new replies.

 * ![](https://ps.w.org/forminator/assets/icon-256x256.gif?rev=3443182)
 * [Forminator Forms – Contact Form, Payment Form & Custom Form Builder](https://wordpress.org/plugins/forminator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/forminator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/forminator/)
 * [Active Topics](https://wordpress.org/support/plugin/forminator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/forminator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/forminator/reviews/)

## Tags

 * [administration](https://wordpress.org/support/topic-tag/administration/)
 * [css](https://wordpress.org/support/topic-tag/css/)

 * 5 replies
 * 3 participants
 * Last reply from: [Williams – WPMU DEV Support](https://wordpress.org/support/users/wpmudevsupport3/)
 * Last activity: [2 years, 3 months ago](https://wordpress.org/support/topic/no-css-in-adminnistration/#post-17434419)
 * Status: resolved