- This topic has 5 replies, 3 voices, and was last updated 3 years, 4 months ago by
David.
-
AuthorPosts
-
November 14, 2022 at 12:30 am #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.0Original 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,
November 14, 2022 at 12:42 am #2414417Fernando 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?
November 14, 2022 at 9:33 am #2415246Juan 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!
November 14, 2022 at 9:44 am #2415256David
StaffCustomer SupportHi 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.November 14, 2022 at 10:12 am #2415313Juan 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!
November 15, 2022 at 2:26 am #2416075David
StaffCustomer SupportNo need. Its a weird bug in WordPress that we’ll look out for more info on. 🙂
-
AuthorPosts
- You must be logged in to reply to this topic.