Archived topic
Custom CSS overwritten by theme style
3 replies · Started by Miklos on October 19, 2019
Hi Team,
I deactivated some modules (colors, typhography), but their style still overwrites my own CSS.
1) Is it possible to uninstall fully the deactivated modules to remove all the styles with them?
2) In case it's not possible, can you help me increase the priority of my own CSS (simple CSS)?
Thank you
Miklos
Hi there,
which styles are you having problems with?
Hi David,
Lots of them (almost all of the colors and typographyies), let me give you an example:
My CSS:
.button:hover {
background-color: #7795f8;
}
Generatepress Color module:
.button:hover {
background-color: 6672e5;
}
So I cannot find the way to overwrite it with my own CSS style.
In other words I'd like to delete all the stlyles of colors and typographies which are defined by Generatepress modules.
Thank you
Miklos
For the basic button you need to target a.button
I checked through most of the others and they seem to be fine apart from the navigation-branding, this needs to be: #site-navigation .navigation-branding
Let us know if there are any others.