-
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
Older Gallery Blocks with 2+ columns appear in 1 left-aligned column on frontend #83719
Comments
Escalation thread: p1698766181837769-slack-C02FMH4G8 |
@liviopv have you replicated un-proxied? Or do we have customer reports? I'm able to replicate only proxied. Unproxied Firefox/Chrome/Safari all work. My test post https://simisontestingfreeflow.wordpress.com/2023/10/31/33/ When I sandbox, gallery again works. Tested through versions of Gutenberg: 16.7.1, 16.8.0, 16.9.0-RC1. All worked while sandboxing. Looks also that simple sites run Gutenberg 16.8.1. Tested with classic Hever theme. |
📌 REPRODUCTION RESULTS
📌 FINDINGS/SCREENSHOTS/VIDEO Simple Site tested:
rmPup1.mp4📌 ACTIONS
|
This issue was also seen here using the Maxwell theme (retired) 7261844-zen |
Support References This comment is automatically generated. Please do not edit it.
|
Possibly the first user-facing report:
Creatio 2, Gutenberg 16.9 and WordPress 6.4. Deactivating Gutenberg doesn't fix the issue, but switching to TT2 does. I couldn't reproduce on my test site with Creatio 2. |
7264184-zen |
– Another report: 7269956-zen
– The same |
This is potentially the same issue: They said: The Gallery block wasn't an issue in my Baskerville 2 theme and worked correctly. Also, setting the gallery to 2 columns, 3 (or other) would always force the images to display in those columns as should and correctly. |
Retriage: Updated title, lowering priority given the lack of consistency or customer reports NotesThe customer reports shared here are inconsistent and don't match the original report's specs. Some notes:
Since multiple HEs have reported they were unable to reproduce when trying to repro, I'd recommend any HEs who run into this in the future ask a customer to test removing the gallery block and rebuilding – perhaps something is leftover on older versions of the block or something. |
New Simple Site + Baskerville 2 Theme + 2 image Gallery Block with Gallery Captions added, and the problem is not there. However, when I copy a gallery block from the customer's site and add it to my test site, the problem comes with it, from the customer's site where the issue is still present. Can see this in action here: https://mcqdelete20250115.wordpress.com/2025/01/17/gallery-block-test/ This suggests the issue is in how the gallery block used to be coded or was set up on the site. Replacing it with a new gallery block should resolve the issue. |
Since this is not happening with a new gallery block added to the page, I'm going to close this out, actually. |
Quick summary
Images inserted within a Gallery Block are overlapping, as if the frontend was not properly rendering the spacing and alignment of the grid.
It's most visible in the default Gallery and the Stacked variations, but it could be affecting other styles as well.
Example:
https://liviofree.wordpress.com/2023/10/31/galleries-test/
I could only reproduce on a Simple Site
Steps to reproduce
What you expected to happen
The Gallery should be rendered as shown in the editor
What actually happened
The images are incorrectly aligned and spaced in the frontend
Impact
Some (< 50%)
Available workarounds?
No but the platform is still usable
Platform (Simple and/or Atomic)
Simple
Logs or notes
Reproduced on
Gutenberg: v16.9.0
Editing Toolkit: 4.2070
WP AMP:
CoBlocks: 2.18.1-simple-rev.4
Unable to reproduce on Atomic and local site running GB 16.9
The text was updated successfully, but these errors were encountered: