Viewing 6 replies - 16 through 21 (of 21 total)
  • @ozh:
    I will do my best soon, if no one fixed it yet.

    @snih:
    i didn’t notice it on the first time, to fix this problem you have to override admin area css, and it can’t be set as inline style because “before” is a pseudo-class and it’s not possible to create inline styles for it.

    so, a temporary solution is to hook on “admin_head” action , by adding the following in your theme “functions.php” file

    add_action('admin_head', 'custom_css');
    
    function custom_css() {
      echo '<style>
        div.wp-menu-image:before  {
          padding:4px 0 !important;
        }
      </style>';
    }

    you can change 4px to any value between 0-7 that you see it fits well with you ??

    hope this help!

    @muhammad Mahmoud:
    Thank you. And 4px is working fine to center the icons vertically. ??

    I think there are also some styling issues with the plugin

    Ozh, will this be fixed in the plugin itself soon?

    I think this bug is very much annoying.. server log throws thousands of lines for “File not exists”.

    As a quick fix i disabled the icons by removing this
    {$img}
    on line number 99 from “\ozh-admin-drop-down-menu\inc\core.php”

    Plugin Author Ozh

    (@ozh)

    Fixed

Viewing 6 replies - 16 through 21 (of 21 total)
  • The topic ‘Menu Icons Missing – WP 3.9’ is closed to new replies.