Site logo

Archived topic

stop GP-generated colors

5 replies · Started by Kristopher on July 12, 2021

Viewing posts 1–6 of 6

Hi folks, curious on how to stop any/all color styling that GP seems to be generated somewhere.
https://www.dropbox.com/s/lodexoeufuj4x0k/Screen%20Shot%202021-07-12%20at%203.12.31%20PM.png?dl=0

You'll see here, GP is applying a style for '.inside-article a, .paging-navigation a, .comments-area a, .page-header a'
it seems to be coming from css-output.php and lives in /uploads/generatepress/style.min.css.

Because of other styling, I really can't just override this (and GP's style.min.css seems to load after my child css)- I want to completely kill any and all color styling from GeneratePress.

Page in question: https://www.washjeff.dev/about-wj/consumer-information/general-institutional-information/

Not quite sure how to do that. Can anyone point me in the right direction.Thanks! Kris

Hi Kris,

I believe you are referring to the Link color you've set under Customizer > Colors > Content.

Let me know if this helps :)

Have you tried making the selector of your custom CSS more specific like this?

body .inside-article a, body .paging-navigation a, body .comments-area a, body .page-header a

So that would work, but I'm guessing from your answer, that there's really no way to exclude parts of the customizer-generated CSS? Its either dequeue all-or-none of it? We'll make it work - but it would be great if we can prevent it from even generating. Thanks! K

Unfortunately not.

Glad the workaround solution works!

This archived topic is closed to new replies.