Archived topic
Problem with text color in Heading Block
9 replies · Started by Carsten on September 25, 2020
Hi there, the text does not change in the Heading block according to the settings, but remains white, no matter which color set.
Thanks for looking into this!
Hi there,
is this only in the editor or on the front end ?
Also on front end
Screenshot
Top Test: Exsisting GB Heading
Two white Tests: new GB Headings
bottom: Gutenberg core Heading
Hi there,
Any chance you can link us to the site in question?
You can use the private information field.
Let me know :)
Sure
I might be a little confused about the issue but looks like the cover block from WP core you are using is causing the issue.
Can you try using a container block instead?
No that can’t be, I added the core block afterwards, just to check if it was a general issue. Next thing I will try is to add the GB heading to another block element
From what I can see, the core block is using this CSS:
https://www.screencast.com/t/ggSDqs7JF
And then it's overwriting the color CSS in GB:
https://www.screencast.com/t/Fk5yyfLb
I deleted the core block, same result, but anyway it is a problem, if the core element overwrites the colors of GB.
I did a GB Heading test in another block element, without any issues, so for some reason, it's that particular element which might be corrupted.
I can duplicate the Heading block which is working, so it isn't an issue, just a strange observation.
Thanks
No problem :)