Code Snippet
Apply Custom CSS to Admin Area
Add to the functions.php file:
add_action('admin_head', 'my_custom_fonts');
function my_custom_fonts() {
echo '<style>
body, td, textarea, input, select {
font-family: "Lucida Grande";
font-size: 12px;
}
</style>';
}
It must be in the themes functions?
Yup.
Awesome! Just what i need. ;)
Hi,
have you tried to test with an external CSS file like :
Maybe it would be more practical.
Thanks from France (sorry for my poor english) for your good ressources
I agree with NicoGaudin It would be good to know whether this would work with an external stylesheet instead of embedded styles.
Yes! I’ll try it.. this is what I need..
DigWP
A book and blog co-authored by Jeff Starr and myself about the World's most popular publishing platform.
Quotes on Design
Design, like Art, can be an elusive word to define and an awfully fun thing to have opinions about.
HTML-Ipsum
One-click copy to clipboard access to Lorem Ipsum text that comes wrapped in a variety of HTML.
Bookshelf
Hey Chris, what books do you recommend? These, young fertile mind, these.