简体   繁体   中英

WordPress: How can override the Dashboard CSS

Hi I was wondering is there an easy way to override the WordPress Dashboard CSS styles?

Please help. Even a jQuery solution will do.

This seems like a pretty solid guide to altering it: http://codex.wordpress.org/Creating_Admin_Themes

Is this what you had in mind?

Insert This Into a Plugin or a Custom Theme functions.php

add_action( 'admin_head', 'showhiddencustomfields' );

function showhiddencustomfields() {
    echo "<link rel='stylesheet' media='screen,projection' type='text/css' href='your-custom-css-file.css'>";
}

Use a developer tool bar to figure out which css rule you need to add to your custom css file.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM