Multiple admin area .css files
-
Hi all!
I added some style to admin page using admin.css file and below function.
function admin_css() { wp_enqueue_style( 'admin_css', get_template_directory_uri() . '/css/admin.css' ); } add_action('admin_print_styles', 'admin_css' );
Anyway, every line of css is written in single file. TO make it more specific I’d like to write it into few seperate files, for example: seperate for dashboard, seperate for screen options, seperate for plugins etc. But the problem is I don’t know how to change my function to make it work properly. THat’s why i need your help guys.
regards, Dan
- The topic ‘Multiple admin area .css files’ is closed to new replies.