• Hello,

    i want to use uploaded icons for the admin menu…. this is working but there is written in any style file

    #adminmenu .wp-menu-image img {
        opacity: 0.6;
        padding: 9px 0 0;
    }

    and with the 9px padding the icons are not in the centre of the menu title…. kenn anybody tell me in which page i can change this css parameter ? I finde 2 diffenrent css files with the same css parameters but the changes in it had no effects…
    (wordpress/wp-admin/css/(admin-menu.css/admin-menu-rtl.min.css)

    Thanks for help

    Greetz Balli

Viewing 1 replies (of 1 total)
  • Plugin Author Janis Elsts

    (@whiteshadow)

    I think it’s either admin-menu.css or admin-menu.min.css. Assuming that you haven’t enabled WP_DEBUG or other developer options, WordPress is probably using admin-menu.min.css.

    Both files are part of WordPress core, so modify them at your own risk. My recommendation would be to instead use a plugin to add your custom CSS to the WP admin. There are several plugins like that available. For example:
    https://ww.wp.xz.cn/plugins/add-admin-css/

    If your changes don’t seem to do anything, that’s probably due to caching. Try to force-refresh the page (usually either F5 or Ctrl + F5) and to clear the cache in any caching plugins.

Viewing 1 replies (of 1 total)

The topic ‘#adminmenu .wp-menu-image img Style CSS’ is closed to new replies.