0

i would like to customize my dashboard navigation menu to vertical styling. i needed to find the <div id="adminmenu"> but there are tons of CSS inside /wp-admin/css

also, does changing the CSS adminmenu is the correct approach of changing the <ul> into vertical styling?

1 Answer 1

0

You shouldn't hack the Wordpress core. You can use a hook to do it. Example:

function dashboard_vertical_styling() {
   echo '<style type="text/css">
           #adminmenu { something goes here; }
         </style>';
}

add_action('admin_head', 'custom_colors');

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.