General Solutions&FAQ

Print

Apply custom CSS within WordPress admin area

If you need add custom styles to WordPress admin panel, feel free to use the code below.Copy/paste it straight to your current child theme functions.php and edit inline styles according to your needs.

add_action('admin_head', 'custom_styles');
function custom_styles() {
  echo '<style>
    #menu-posts-lookbook {
      display:none !important;
    }
  </style>';
}

In mentioned code, we removed admin menu item with id=”menu-posts-lookbook”. Fill out this code with your own styles and move forward with your project.

Leave a Reply

Your email address will not be published. Required fields are marked *