Overwriting WordPress dashicons default CSS
-
Hi,
In the file wp-analytify/assets/default/css/styles.css of your plugin CSS is overwritten, which is part of the standard layout of WordPress and is used by all plugins. In this case you change the align of the dashicons with
.dashicons, .dashicons-before:before {
vertical-align: middle;
}Can you please create your own CSS classes to customize the layout for your plugin? Then other plugins can use the default layout again and don’t have to follow your customizations if your plugin is installed. Also, it would be great if your stylesheet file would only be loaded on admin pages where it is needed. 😉
Thanks
The topic ‘Overwriting WordPress dashicons default CSS’ is closed to new replies.