• Resolved lieska

    (@lieska)


    Hi, FYI the CSS is added only to frontend of the site, not in backend/admin area. If I want to modify backend css, this plugin is not for it at the moment. Otherwise it’s very handy, I use it and like it very much!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Shea Bunge

    (@bungeshea)

    This plugin most certainly can add CSS to the admin area, but you need to use the correct snippet for it to do so. The provided sample CSS snippet is only intended to work on the site front-end. To add CSS to the admin area, you can do something like this:

    add_action( 'admin_head', function () { ?>
    <style>
    
    /* css code goes here */
    
    </style>
    <?php } );
    Thread Starter lieska

    (@lieska)

    Thank you for clearing this up!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘CSS in admin area doesn’t work’ is closed to new replies.