Wordpress - Add Custom Style for Admin


/ Published in: PHP
Save to your folder(s)

Add custom header style for Admin


Copy this code and paste it in your HTML
  1. add_action('admin_head', 'projectname_admin_head');
  2.  
  3. function projectname_admin_head() {
  4. echo '<style type="text/css">';
  5. echo '.header { width:50px }';
  6. echo '</style>';
  7. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.