Custom css on admin
-
Hi there,
I’m using is AccessPress Parallax.
I’m very new to wordpress and php, and have been cracking my head with this for a whil.I’m trying to add a custom stylesheet to my theme, via the enqueue method in the functions.php file. I’ve tried many different solutions seen in a few tutorials, including here, I haven’t notice what I did wrong. Here is the last code I tried with no success:
function admin_theme_style() {
wp_enqueue_style(‘custom-admin-style’, get_template_directory_uri() . ‘/css/custom.css’);
}
add_action(‘admin_enqueue_scripts’, ‘admin_theme_style’);Where in the file should I include it? Any help will be very apreciated, as I’m nearly desperate with this!
Thanks in advance!
Cristiano
- The topic ‘Custom css on admin’ is closed to new replies.