Closed simkoG closed 1 year ago
Hey @simkoG,
Moving the CSS file in this case likely won't fix the issue.
.inside-article a
is more specific than .gb-button-primary
, which is why it's being overwritten.
In most cases, it's not necessary to use the "Content Link Color" option in GP that writes that first selector, you can just use the "Body Link Color" option.
One other option is to actually add a link to the Global Style button, this will tell GB to output the selector as a.gb-button-primary
which should fix the issue.
Description
There are some bad CSS file prioritization with the GeneratePress theme. I mean, the GeneratePress styles overwrite the GenerateBlock's Global Style tags.
Steps to reproduce
Expected behavior
Preview inside the editor.
Actual behavior
Final page. You can see that the button's text has a wrong color.
References:
You should load the GenerateBlocks' CSS files after the GeneratePress theme's CSS files.