Closed ClassicRKR27 closed 1 year ago
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 had the same user in 5322223-zen with a similar issue but the custom CSS we provided earlier didn't help.
https://user-images.githubusercontent.com/1519466/175459457-76446850-3caf-427a-8154-b8a73d11804a.mp4
I suggested a more straightforward workaround: you can edit the button in the Outline mode, and once you are done editing, you can check the button style to Fill as following:
I've encountered a few instances of button formatting changing after the latest GB update.
My findings so far:
.wp-block-button__link
classScreenshot. 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:
.wp-block-button__link {
padding: calc(0.667em + 2px) calc(1.333em + 2px);
}
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.
Another case in here(#5323361-zen) with the missing padding:
Left: incorrect/current state Right: correct/previous state
Theme: Sequential The user stated the change happened yesterday.
Pinging in p1656142029379519-slack-C02FMH4G8
Another case was reported in 5323571-zd-woothemesand here 5325320-zd-woothemes
Please follow up:
Thanks!
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: 5309318-zd
I suggested them to switch the button style to Outline and shared the CSS workaround.
Another report here: 5323639-zd
simple site (Personal plan) -> suggeste the Fill to Outline workaround + creating a Reusable block they can use to more easily replace them.
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. They're using reusable blocks already to update, but have a lot of buttons to fix. I shared the following CSS which seems to be working:
.wp-block-button__link {
padding: calc(0.667em + 2px) calc(1.333em + 2px);
border-radius: 36px;
}
Another case here: 35914739-HC
Provided CSS put together by previous comment:
.wp-block-button__link {
padding: calc(0.667em + 2px) calc(1.333em + 2px);
border-radius: 36px;
}
+1 at 35509748-hc, shared CSS workaround in 5332545-zen
📌 HOUSEKEEPING
📌 SCRUBBING
📌 FINDINGS/SCREENSHOTS/VIDEO Replicable on Simple and AT 📌 ACTIONS
This should be fixed here(p1656418840448029/1656142029.379519-slack-C02FMH4G8) and the last report from @sharonlaker19 will be fixed here: https://github.com/WordPress/gutenberg/pull/42012/files
I'm going to close this for now to avoid more confusion. If other padding issues show up, please report them here:
https://github.com/Automattic/wp-calypso/issues/65033
cc @kerrynicl @chad1008 @scruffian
Reopening for bulk replies cc @vajrasar
Another one on the FR forums: https://wordpress.com/fr/forums/topic/probleme-daffichage-des-boutons/
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 They've manually fixed it on their site.
5426069-zen Applied the CSS workaround but this site has a custom CSS add-on and is not atomic. Cross reported here: https://github.com/Automattic/wp-calypso/issues/64880
I added the plain old and it worked:
.wp-block-button__link {
padding: 1em;
}
Support References
This comment is automatically generated. Please do not edit it.
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
https://user-images.githubusercontent.com/51870544/175398188-17ce808b-6261-42d4-b61e-614c482326eb.mp4
https://user-images.githubusercontent.com/51870544/175398317-2c8bbd4a-44ba-42f7-8da4-af125662b4f2.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:
https://user-images.githubusercontent.com/51870544/175397009-b8a3f2ff-1831-42ea-8874-c10b072e9f10.mp4