| Server IP : 121.121.20.254 / Your IP : 216.73.217.51 Web Server : Microsoft-IIS/10.0 System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64 User : IUSR ( 0) PHP Version : 8.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/inetpub/wwwroot/KnowledgeBase/wp-content/plugins/admin-menu-editor/css/ |
Upload File : |
/*
Forcibly set menu icons to the selected custom Dashicons.
Problem:
Some plugins use CSS to assign icons to their admin menu items. Users want to change the icons.
In many cases, simply changing the icon URL doesn't work because the plugin CSS overrides it.
Workaround:
Add more CSS that overrides the icon styles that were set by other plugins.
*/
//Artificially increase selector specificity by repeating the ID.
#adminmenu#adminmenu#adminmenu a.ame-has-custom-dashicon {
& > .wp-menu-image::before {
font-family: "dashicons", sans-serif !important;
font-size: 20px !important;
}
//Some plugins set the icon as a background image instead of a pseudo-element.
& > .wp-menu-image {
background-image: none !important;
position: static;
}
& > .wp-menu-image::before {
background-image: none !important;
}
@import '_dashicons';
}