Support » Plugin: Ozh' Admin Drop Down Menu » Please add width value to the wp-menu-image css

  • We have a plugin with a custom svg file as the wp admin icon. normally this displays fine, but when your plugin is activated the icon is showing at it’s full 256px. We fixed this by modifying the following in ozh-admin-drop-down-menu/inc/adminmenu.css.php

    #ozhmenu img.wp-menu-image {float:<?php echo $dir; ?>;opacity:0.6;padding:5px 1px 0; width: 16px; filter:alpha(opacity=60);}

    https://wordpress.org/plugins/ozh-admin-drop-down-menu/

Viewing 1 replies (of 1 total)
  • Thanks for this tip.

    Been having same problems and now with the most recent update of one of my plugins (Quick Cache to Zen Cache) it was almost 3 lines to fill up the icon image since it was so big.

Viewing 1 replies (of 1 total)
  • The topic ‘Please add width value to the wp-menu-image css’ is closed to new replies.