Site logo

[Resolved] Broken image galleries since latest update

Home Forums Support [Resolved] Broken image galleries since latest update

Home Forums Support Broken image galleries since latest update

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #2414406
    Juan Manuel

    Hello,

    Opening a ticket as requested in https://generatepress.com/forums/topic/gallery-styling-broken-since-wp-update-5-9/page/2/#post-2414063

    WP version: 6.1
    GP: 3.2.2
    GPP: 2.2.1
    GB:1.6.0

    Original text:
    All the galleries in one of my websites broke when I last updated the site. I have checked the custom CSS but I do not see any custom css related to galleries, yet they are broken (one pic per row).

    Is that some issue on my side? or wasn’t GP ready for this change in the styling?

    Do you guys have any custom css ready that can fix this for “default” installations like mine (ie not having any custom css for galleries)?

    Thanks and best regards,

    #2414417
    Fernando
    Customer Support

    Hi Juan,

    It’s a WordPress 6.1 issue. See David’s response here: https://generatepress.com/forums/topic/gallery-problems-after-update-to-wp-6-1/#post-2410126

    Yes, we can provide custom CSS to fix the issue. Try adding this through Appearance > Customize > Additional CSS:

    body .is-layout-flex {
        display: flex;
        flex-wrap: wrap
    }

    Do you have any custom functions on the site related to Theme Supports or theme.json?

    #2415246
    Juan Manuel

    Hi,

    Thank you, that seems to have fix the issue.

    Regarding custom functions, the only code my child theme’s functions.php has is this:

    `add_filter( ‘generate_typography_default_fonts’, function( $fonts ) {
    $fonts[] = ‘Poppins’;

    return $fonts;
    } );

    I dont know if that answers it or I have to look somewhere else too?

    Thanks!

    #2415256
    David
    Staff
    Customer Support

    Hi there,

    no that function is not related to the gallery issue. You can leave that function as is.

    We are still investigating why some users have this issue when they update.
    For now just keep the CSS that Fernando provided.

    #2415313
    Juan Manuel

    Hi,

    Yes, I meant if there was somewhere else I should look for for custom functions heheh.

    If you’d like to take a look in order to dig deeper into the problem, just let me know and I will give you access.

    Thank you!

    #2416075
    David
    Staff
    Customer Support

    No need. Its a weird bug in WordPress that we’ll look out for more info on. 🙂

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.