Archived topic
Gallery, buttons, social icons breaking after updates
5 replies · Started by C.K. on January 18, 2023
Hello! We are using the latest version of the theme and GP Premium and have noticed after updating our galleries, buttons, and social icons in the footer have been breaking. The galleries and social icons are not displaying inline and we are having to add the rule display:flex to get them to show properly. The buttons are set in the page editor to align center and are not aligning center and we are having to use text-align: center. Not sure what happened but our sites/ these blocks looked fine before we updated? Any reasoning or advice on this would be much appreciated!
Hi C.K.,
Are these WordPress core Blocks? GP Premium shouldn't be causing this.
There was a recent WordPress update (6.1) that removed some core CSS codes which caused multiple issues on different sites, not just the ones using GeneratePress. Did you update your WordPress recently?
If so, see David's response here: https://generatepress.com/forums/topic/gallery-problems-after-update-to-wp-6-1/#post-2399578
I'm not sure if they are core WP blocks or not. But yes, we did update WP recently but we are on WP 6.1.1. Not sure if that makes a difference or not
Hi there,
what happens if you add this CSS to your site:
body .is-layout-flex {
display: flex;
flex-wrap: wrap;
}
Let me know
Thank you both for your help! David, that code did work!
Have a good one
Glad to hear that.