I am making a wordpress admin theme: how override wp-admin.css?
-
Hi,
I’m making a new clean admin theme for WordPress, I finished the design but now I have to create the plugin.
I would like to override the wp-admin.css, How can I do it? I tried with the action “admin_print_styles” but it does not override.
Where is the problem?function xxxx() { $url = get_settings('siteurl'); $dir = $url . '/wp-content/plugins/sklean/'; echo ' <link rel="stylesheet" type="text/css" href="' . $dir . 'wp-admin.css" /> <link rel="stylesheet" type="text/css" href="' . $dir . 'css/colors-classic.css" /> <link rel="stylesheet" type="text/css" href="' . $dir . 'css/widgets.css" /> <link rel="stylesheet" type="text/css" href="' . $dir . 'css/global.css" /> '; } add_action('admin_print_styles', 'xxxx');
The topic ‘I am making a wordpress admin theme: how override wp-admin.css?’ is closed to new replies.