Image gallery issue after wp 6.9 update

Posted in: Newspaper
Post count: 55

Hello all images in our posts appear in one column after wordpress 6.9. update – see exaple here:
https://www.modre-novice.si/pro/pustite-se-zacarati-praznicnemu-vzdusju-v-kamniku/

Before they were in row, next to each other up to 3 images.

Kind regards,
Peter

Post count: 35449

Hi,
I think that is teh gallery from Gutenberg not from the theme. Just make sure that all the cache is clear, and there is nothing interfering.
You need to make sure nothing is interfering with this css:
body .is-layout-flex {
display: flex;
}

Thank you!

Post count: 55

Help checking that out would be very much appreciated 🙂
This happened after WP update to 6.9.

Kind regards,
Peter

Post count: 35449

Hi,
Please check if you have Rank Math SEO, if you have t disable the Slack Enhanced Sharing
https://prnt.sc/XuShc0tCzQvy
https://prnt.sc/d61jK5Z3FPDr

Post count: 55

If I put your code into custom CSS I got this result: see image

This is the post where gallery is inserted: https://www.modre-novice.si/aktualno/letnarjeva-crno-bela-kronika-mekinjske-druzine/

Any suggestion? Thank you for your help.

Kind regards,
Peter

  • This reply was modified 8 months by Peter_86.
  • This reply was modified 8 months by Peter_86.
Post count: 55

No, we use Yoast Seo.

Kind regards,
Peter

Post count: 35449

Please make a test using only the tagDiv plugins to make sure that no extra plugin is interfering with the theme and wordpress.

Post count: 55

Is there a way I could give you credentials? I am not a programmer and I would not like to crash the site since it is live news portal.

Kind regards,
Peter

Post count: 12

Hi Calin,
I have the same problem than Peter: Since I installed WordPress 6.9, the photos no longer display as a gallery. They are displayed as large images, one below the other. How can I fix this problem?
Example : https://hommeurbain.com/tendances-mode-homme-automne-hiver-2025/Tthanks
I do not use Rank Math SEO.

Post count: 55

Hello,
the only difference is if I disable litespeed cache, that photos become larger like in Antoine’s case. If I enable litespeed cache, photos become smaller (like they should be in gallery view) but still one below the other instead one next to eachother.

Kind regards,
Peter

Post count: 12

Calin, I asked the question to Gemini : here is the response :
WordPress 6.9 introduced significant changes to the Block Editor, data APIs, and the handling of layouts (columns, grids). These areas are essential for a complex magazine theme like Newspaper. A theme that has not yet been updated for these changes is highly prone to breaking the display.

1. 🛑 The Likely Cause: CSS and Block Structure
The display issue where photos show up “one under the other in large size” is the default appearance when the CSS that is supposed to create the gallery columns (using display: flex, grid, or float) is no longer being applied.

This could be due to:

HTML Structure Change: WordPress 6.9 may have changed the HTML tags (the <div>s) surrounding the gallery images. The Newspaper theme’s CSS is no longer finding the correct selectors and therefore fails to apply the column layout.

CSS Conflict: New native WordPress 6.9 CSS is unexpectedly overriding the theme’s CSS.

2. ⏳ The Recommended Solution: Wait for the Newspaper Update
Since the theme is the most probable source of the issue, the most stable and long-term solution is to wait for tagDiv (the Newspaper theme developers) to release an official compatibility update for WordPress 6.9.

Action: Check the Newspaper forum or changelog page (on ThemeForest, if you bought it there) to see if they have published an announcement regarding 6.9 support or a release date for the next version.

Post count: 12

Since it seems the problem come from WordPress 6.9, I downloaded WordPress 6.8 https://fr.wordpress.org/download/releases/ and copy paste the files except WP Content on my FTP

Post count: 2

Good job Calin. Your fix worked for me. I hope it works for anyone else having this problem.

Post count: 3

The problem is Yoast SEO, disable the plugin and see that the photo galleries will go back to how they were before…

Post count: 55

I have deactivated Yoast SEO and gallery works as it should. But the fact is that this error occurred after WP 6.9. update. Before I had Yoast SEO enabled with Newspaper theme and there were no problems.

So is this just Yoast SEO issue or is this issue in correlation between the theme and SEO plugins in WP 6.9. environment – I saw that problems with images were with Rank Math SEO plugin as well.

I think developers should connect and find out who needs to make changes to put things back together as they were in older version of wordpress.

Kind regards,
Peter

Post count: 35449

Hi Peter,
If you’d like, please contact us by email at contact@tagdiv.com
and provide wp-admin access. We’ll investigate what’s causing the issue with the gallery and Yoast SEO. I also ran several tests on my own installation and everything appears to be working correctly, so the problem may be related to specific settings on your site.

Post count: 12

As I mentioned, I have exactly the same problem as Peter since WordPress 6.9. I temporarily resolved it by reinstalling WordPress 6.8.

Post count: 35449

Hi,
For users with the Yoast SEO plugin who have the gallery problem, please go to Yoast Settings > Site basics and make sure that the option for “Force rewrite titles” is disabled – https://i.imgur.com/XdEl9cv.png. This should resolve the problem.
Thank you!

Post count: 12

Done. Thanks Calin

Post count: 55

Great. Thank you Calin!

Kind regards,
Peter

Viewing 20 posts - 1 through 20 (of 20 total)
The forum ‘Newspaper’ is closed to new topics and replies.