themes icon indicating copy to clipboard operation
themes copied to clipboard

Button Block visible in Editor, but not in Preview or on the live site

Open tavilla61 opened this issue 4 years ago • 7 comments

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.

Screen Shot on 2022-01-05 at 14-02-09 Screen Shot on 2022-01-05 at 14-02-31 ### Steps to reproduce
  1. I set up a test site with the same plan (Premium) and theme (Barnsbury).
  2. I also set up a Media & Text Block, and tried adding the button using the same colors.
  3. 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; }

tavilla61 avatar Jan 05 '22 21:01 tavilla61

Another user here: 33723172-hc

LauraSWP avatar Jan 18 '22 14:01 LauraSWP

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

syedshaon avatar Feb 08 '22 18:02 syedshaon

Related issue: https://github.com/Automattic/themes/issues/3851

syedshaon avatar Feb 08 '22 18:02 syedshaon

Another report here: 37345575-hc on the Barnsbury theme

Joshgrygiel avatar Nov 14 '22 19:11 Joshgrygiel

Support References

This comment is automatically generated. Please do not edit it.

  • [ ] 4662599-zen
  • [ ] 5862937-zen
  • [ ] 6333805-zen

github-actions[bot] avatar Nov 14 '22 19:11 github-actions[bot]

Another report here: 5862937-zd-woothemes

atrumgeost avatar Jan 13 '23 22:01 atrumgeost

Another report in 6333805-zen

eduardozulian avatar May 26 '23 15:05 eduardozulian