there is an advert script being inserted after the second gallery item, which is breaking the row. To fix the gallery don’t allow an advert to be inserted there.
No, it’s because the 3rd photo is moved, the Adsense script is inserted.
Now, I have use Adblock, to remove all Adsense, but the problem is the same (the photo is not in a row).
I have tested on another pages, without advert, the same problem 🙁
Could you help me?
I also tried to search on the internet, it could be GeneratePress, theme, or it could be WordPress core bug. I also tried to play with CSS, but neither work.
Could you try completely removing the ad script block first and see if it fixes the issue? Even if using AdBlock, it only hides the ads but the ad HTML still remains in the DOM.