Automattic / themes

Free WordPress themes made by Automattic for WordPress.org and WordPress.com.
https://themeshaper.com
GNU General Public License v2.0
905 stars 357 forks source link

Baskerville 2: Odd Spacing Between Homepage Posts on AT Sites with Lazy Load #1997

Open carinapilar opened 4 years ago

carinapilar commented 4 years ago

Steps to replicate

  1. Create some posts on an AT site, at least 4.
  2. Activate the Baskerville 2 theme.
  3. Activate Lazy Load, on Manage > Settings > Performance > Performance & speed.
  4. Check the blog page on the live site.

Result

When Lazy Load is active there's an extra space between posts, at the bottom.

Expected

To have the same space between posts, either when using Lazy Load or not.

The screenshot below shows with Lazy Load disabled, and enabled:

LazyLoadSpace

It seems similar to this issue. The problem with the px value is the same, on my test site, when Lazy Load is active it loads top: 1315px, while with Lazy Load disabled is top: 1158px.

aleone89 commented 4 years ago

Another report of this here: hc-23684500

jartes commented 3 years ago

Another report on 29027828-hc. As a workaround, we deactivated Jetpack Lazyload on their homepage (https://developer.jetpack.com/hooks/lazyload_is_enabled/#comment-13438)

happychait commented 3 years ago

Similar spacing issue reported in 3927378-zen even with Lazy Loading disabled.

happychait commented 3 years ago

Another report in 4454861-zen

Worked around by disabling Asset CDN in Jetpack Performance settings.

KirkwallDay commented 2 years ago

Another report here: 4655792-zen

Disabling Lazy Load fixed the issue with one exception:

Posts that have a video embedded in them will still show the gap, even with Lazy Loading disabled. Disabling Asset CDN and Image CDN did not help with this.

csonnek commented 2 years ago

Another report (Baskerville 2 + Jetpack Lazy Images): https://wordpress.com/forums/topic/weird-spacing-glitch-on-the-baskerville-2-theme/

renata-franco commented 9 months ago

Found a workaround that worked for the user on 7697527-zen: Select "Post excerpt" when going to Appearance > Customizer > Content Options. Screenshot:

CleanShot 2024-02-19 at 08 20 02

github-actions[bot] commented 9 months ago

Support References

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