Button Block visible in Editor, but not in Preview or on the live site
Quick summary
The Button Block is within a Media & Text Block, and is visible in the editor, but not when previewing or visiting the live site. It seems to be taking on the background color of the Media & Text Block.
### Steps to reproduce
- I set up a test site with the same plan (Premium) and theme (Barnsbury).
- I also set up a Media & Text Block, and tried adding the button using the same colors.
- Added the Button Block and previewed it.
What you expected to happen
I expected it to show the same issue that the user was having, but it worked on my own site.
What actually happened
I wasn't able to replicate the issue on a test site.
Context
Site: coppinglaw.wordpress.com SA: https://wordpress.com/wp-admin/network/admin.php?page=store-admin&action=search&username=pigeonsaltneptune59370
Where I asked for help in Slack: p1641417612213500/1641417069.208800-slack-C03TY6J1A
Ticket: #4662599-zen
Simple, Atomic or both?
Simple
Theme-specific issue?
No response
Browser, operating system and other notes
No response
Reproducibility
No response
Severity
No response
Available workarounds?
Yes, easy to implement
Workaround details
CSS Workaround:
/* fix button color in media and text block on front page | XXXXXXX-hc eD */ .home .wp-block-media-text .wp-block-button.is-style-outline .wp-block-button__link { color: #ffffff; }
Another user here: 33723172-hc
Another issue: 4760069
The workaround I found to work is setting the text color for the button block to something other than the theme-specific ones. https://snipboard.io/u7h92n.jpg
Related issue: https://github.com/Automattic/themes/issues/3851
Another report here: 37345575-hc on the Barnsbury theme
Support References
This comment is automatically generated. Please do not edit it.
- [ ] 4662599-zen
- [ ] 5862937-zen
- [ ] 6333805-zen
Another report here: 5862937-zd-woothemes
Another report in 6333805-zen