Spectra headings don’t work properly in Covers.
-
Post Spectra update, the colours being set on our headings in covers are behaving weirdly.
We have H1 set to one of the global colours, orange.
When we have a Spectra heading in a cover, without a colour applied, it is appearing in white. It is the correct orange colour in the editor, just not on the front end.
Looking in inspector, the colour is being set from:.wp-block-cover h1:not(.has-text-color) { color: inherit; }
which is in /wp-includes/css/dist/block-library/style.min.css?ver=860f35575fd5ac1ca28c9360b10a46a0 (i.e. a core gutenberg file)
If you set a colour in the editor, it still doesn’t apply, and the rule being called is: .wp-block-cover h1:not(.has-text-color) still which suggests it’s not working at all.
If I convert these headings to standard Gutenberg headings, they work fine, so it seems a Spectra bug.
- The topic ‘Spectra headings don’t work properly in Covers.’ is closed to new replies.