-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Buttons block: altered styling(colors, padding, border-radius) #64917
Comments
I was able to duplicate this on a site with a third-party theme as well, and the buttons didn't display correctly on the front-end anymore: The Internet Archive version of this customer's site had the buttons showing as expected on May 24th, though, so this is likely due to the Gutenberg 13.5 update: https://web.archive.org/web/20220524123225/https://edwincarcano.com/mundo-generacional-emprender-en-tiempos-de-conflictos-armados/ Provided CSS to resolve this in 5321543-zen |
I've encountered a few instances of button formatting changing after the latest GB update. My findings so far:
Screenshot. Left is current, right side is using Wayback machine showing the proper padding for that button: Workaround: I have been providing CSS to return padding to that CSS class, such as:
|
Reported here 6127121-hc Followup 5323598-zen |
Reported in 34937445-hc. Third-party theme. One Buttons block (2 buttons) were affected (turned white on white background) when hovered over. Advised user to switch to a different "style" (Outline) for now.
|
Also reported in 5323732-zen, provided CSS workaround |
Reported in 5324212-zen |
A little far-fetched, but this chat in 35888729-hc had its button border radius removed, and may be related altogether. |
Pinging in p1656142029379519-slack-C02FMH4G8 |
Another case report - HC-35902169 |
Another case - 5325246-zd. Please follow up.
|
Another report of this with Social Media icons missing 5326590-zd. Disabled Gutenberg for now. Please follow up to re-enable the plugin. |
Another case here: |
Another report here: |
Another report here: 5326449-zd-woothemes
|
Another report: 5327309-zd-woothemes
All buttons on the site were set to 36px radius, but have been reset.
|
Another case here: 35914739-HC Provided CSS put together by previous comment:
|
+1 at 35509748-hc, shared CSS workaround in 5332545-zen |
📌 HOUSEKEEPING
📌 SCRUBBING
📌 FINDINGS/SCREENSHOTS/VIDEO
|
|
Another report:
|
|
The user's theme is Cerauno. Text is "invisible" - same background and foreground - even with the Default colours selected. |
Another report 35969016-hc |
I believe this was also the issue in 5365410-zd |
|
5426069-zen Applied the CSS workaround but this site has a custom CSS add-on and is not atomic. Cross reported here: #64880 I added the plain old and it worked:
|
Support References This comment is automatically generated. Please do not edit it. |
I think the user in 31797310-hc had experienced this too (Gateway theme). All buttons were black with white text, but three were changed to white with black text (and white text on hover, turning them fully invisible); the other one was changed to gray with black text for some reason. No settings in the block editor indicated any changed/custom colors on all four buttons. |
Hi everyone 👋 Just a quick note to let you all know @Automattic/dotcom-triage-pa-group has finished following up with the affected users reported in this thread. Thanks for the reports, please let us know here if you see any future recurrence of the issue. |
📌 SCRUBBING : RESULT
📌 FINDINGS/SCREENSHOTS/VIDEO RESULT: I can confirm the button appears invisible when added to the Canape theme: 📌 ACTIONS Reopened report |
I created a fix for this here: WordPress/gutenberg#43981 |
Quick summary
Had a user report that their buttons were missing from multiple sites that are all using the
Canape
theme which seems to be a new bug.Steps to reproduce
Canape
orCoherent
white
Style
is set toFill
without selecting any colorsWhat you expected to happen
The button should turn to a lighter shade of the color specified by the theme.
What actually happened
The button turns white regardless unless you change the color settings on the individual button (this is also reflected within the Editor as well as you'll see in the video below). You also can't see the button text that you're writing unless the button is not selected.
Context
35886225-hc
Screen.Capture.on.2022-06-23.at.15-57-35.mp4
Screen.Capture.on.2022-06-23.at.16-06-48.mp4
Simple, Atomic or both?
Simple, Atomic
Theme-specific issue?
So far I've found this happens for both
Canape
andCoherent
, though it may be affecting others. Does not seem to be affecting and FSE sites based on my testing but I can't guarantee that.Browser, operating system and other notes
Consistent across Chrome, Safari, and Firefox
Reproducibility
Consistent
Severity
All
Available workarounds?
Yes, easy to implement
Workaround details
Currently the only consistent workaround I've found that is applicable to both Simple and AT sites is that you need to change the Styles option from
Fill
toOutline
. There are CSS options, but it seems like this only works if you select the individual element (I've tried several variations of CSS selectors and couldn't get anything to work unless it was specifically called out for a single element).Video of CSS issue:
Screen.Capture.on.2022-06-23.at.16-03-55.mp4
The text was updated successfully, but these errors were encountered: