Can someone check how I could fix this myself. I can’t stand it anymore that I click on that wrong button all the time as it shows in the (in my eyes wrong) main button color e.g. used for performing updates
I tried the following code and a few more but it didn’t work. I am not sure if it is good to modify the DOM myself, so I thought I just give it a try with very specific CSS selector.
The problem is as the original CSS already comes with !important at /plugins/mainwp/assets/css/themes/mainwp-default-theme.css?ver=5.2.2
/*
Take control over the Ignored Plugins button that originally is shown in the main green button color - v1
*/
a.ui.green.mini.basic.button[href="admin.php?page=PluginsIgnore"] {
background-color: #c4c4c4 !important;
}
/*
Take control over the Ignored Plugins button that originally is shown in the main green button color - v2
*/
a[href="admin.php?page=PluginsIgnore"].ui.green.mini.basic.button {
background-color: red !important;
}
At the moment, it’s not feasible to override the default button styles because of the !important rules in place within the MainWP Dashboard’s core CSS.
Unfortunately, this makes it difficult to apply custom CSS.
However, in MainWP v5.3, we will be adding specific classes to these buttons, which will allow you to easily target them and customize the styles as needed.
Yes, this button is really annoying because so dominant above all other items. I do not need it at all.
So I wish one can deselect the button at all, not only color it (ok, coloring it like the background would work, too… )