I recommend asking at https://wordpress.org/support/plugin/dokan-lite/#new-post so the plugin’s developers and support community can help you with this.
Hi, @hashdev
It’s best to ask the plugin’s developers first, as Steve recommended above. To add any custom CSS rules for the admin dashboard you have a few options:
1. Using a module like this https://wordpress.org/plugins/add-admin-css/ and adding your custom CSS lines for that class.
2. Adding a few lines of codes in functions.php (best to have a child theme if you modify your theme, so it won’t revert to the original when theme will update) in your theme’s folder.
function admin_custom_css() {
$url = get_settings('siteurl').'/wp-content/themes/yourtheme/css/custom-admin.css';
echo '<link rel="stylesheet" type="text/css" href="' . $url . '" />';
}
add_action('admin_head', 'admin_custom_css');
Don’t forget to modify yourtheme with the name of the folder your theme is in and create custom-admin.css with your custom CSS rules.
3. Even better, using wp_enqueue_style function.
Hope this helps,
Kind regards!
@vladytimy Thanks! Its works!
-
This reply was modified 5 years, 7 months ago by
hashdev.