New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiple Themes: Cover Block with White Background defaults to White Font, text goes "missing" #3483
Comments
@ianstewart is this is theme issue? Since it doesn't repro on seedlet? |
@jeffikus this one looks like a theme issue. Extends beyond the Varia child themes listed above to Twenty Twenty but not all themes, as noted with Seedlet above, or in Twenty Nineteen in my own test. |
I just encountered this in FSE with Blank Canvas Blocks and Myland Blocks. This makes creating some of the Blank Canvas patterns as starter designs problematic because they use Cover block extensively (seems like this issue does not affect the Blank Canvas theme). |
The themes that work have a css rule that applies directly to covers inner content, for example: seedlet. That rule makes the text color the same as the one set as foreground in For themes that don't work this rule does not exists, so it defaults to a rule that sets the color to |
@andres-blanco It sounds like the solution used for Blank Canvas, Seedlet, and Spearhead might work for other themes, too. I would test that solution with the themes that don't work and see if it breaks anything visually. If not, it may just be a matter of applying that solution to each theme. For any of the Twenty- themes, we'd need to open a ticket in core, unless this problem is specific to WP.com (I don't think it is since the cover block is a core block, too). |
Great! I will check all themes in the showcase and apply fixes to each individually. |
This is a list of the current status of the "Recommended Themes" in the showcase.
|
The PR #4086 (D63216-code) Fixes Varia and its child themes. The problem still persist in:
I think all of these, except for Independent Publisher 2, are .org themes, so a different approach needs to be taken |
@andres-blanco Hemingway Rewritten, Independent Publisher 2, and Ryu are all Automattic themes as well. They might not be in the Github repository, though, so you'd only need to apply changes to the themes in SVN. The Twenty-* themes are .org themes and probably need to be handled in core. :) |
@andres-blanco Is anything else needed to close this out? |
There's still the .org fixes that I didn't get around to push forward since the process is more convoluted. I will unassign myself since I don't think I will be able to tackle this in the current sprint. |
The default themes have been left in the care of the Theme Team: pNEWy-e5R-p2 @andres-blanco will finish up Hemingway Rewritten, Independent Publisher 2, and Ryu to close out our pod work. |
This issue is also present in Baskerville 2 - maybe it could be squeezed in? |
Hemingway Rewritten, Ryu & Baskerville 2 fix: D63997-code |
@andres-blanco I think you missed Independent Publisher 2 from the original list too. 👍 |
@kwight I submitted a fix in this PR #4217. It's a separate PR/Changeset because the fix is different and IP2 is the only one that's also in the git repo |
The changes on Independent Publisher 2, Baskerville 2, Ryu and Hemingway Rewritten are now deployed. Now, all its left is to fix Twenty Twenty, Twenty Sixteen and Twenty Fifteen to cover our "Recommended" themes. |
This seems like a core issue |
Fix here: WordPress/gutenberg#33541 |
This was closed by: WordPress/gutenberg#33541 |
Steps to reproduce the behavior
What I expected to happen
The font color to be black, or some other contrasting color that would be visible on the Cover Block.
What actually happened
The font color automatically defaults to white, and hidden/lost on the Cover Block, since it blends into the background.
Context
#user-report
Browser / OS version
All
Is this specific to the applied theme? Which one?
Multiple themes. Tested on Hever and Coutoire.
Could not replicate on Spearhead
Does this happen on simple or atomic sites or both?
Both
Is there any console output or error text?
Level of impact (Does it block purchases? Does it affect more than just one site?)
Affects all Cover Blocks on multiple themes.
Reproducibility (Consistent, Intermittent) Leave empty for consistent.
Screenshot / Video: If applicable, add screenshots to help explain your problem.
The text was updated successfully, but these errors were encountered: