kisabelle
11/17/2015 - 8:36 PM

Wordpress Admin Styles

Wordpress Admin Styles

// # Admin Styles
//---------------------------------------------

add_action('admin_head', 'my_custom_fonts');

function my_custom_fonts() {
  echo '<style>
    .widefat .column-study_group, .widefat .column-days_spent, .widefat .column-days_remaining,
    .column-study_group, .column-days_spent, .column-days_remaining{
      text-align: center;
    }
    .column-date_registered{
      width: 122px;
    }
    .column-days_remaining{
      width: 140px;
    }
    .column-days_spent{
      width: 108px;
    }
    .column-study_group{
      width: 118px;
    }

    #your-profile h3,
    .user-description-wrap,
    .user-url-wrap,
    .user-comment-shortcuts-wrap,
    .user-admin-color-wrap,
    .user-display-name-wrap,
    .user-nickname-wrap,
    .user-last-name-wrap,
    .user-first-name-wrap,
    .user-googleplus-wrap,
    .user-twitter-wrap,
    .user-facebook-wrap,
    .username .avatar{
      display: none;
      visibility: hidden;
    }

    td.mailing-address{
      line-height: 1.5;
    }

    a.reveal-email:focus{
      box-shadow: none;
      -webkit-box-shadow: none;
      color: #0073aa;
    }
    a.reveal-email:hover{
      color: #00a0d2;
    }

    .consent-form label {
      display: block;
      margin: 1.5em 0 .5em;
    }

    #adminmenu .update-plugins{
      display: none;
      visibility: hidden;
    }

    .slimScrollDiv .manage-column.column-name,
    .slimScrollDiv .name.column-name{
      display: none;
    }
      
  </style>';
}