Can you send me the URL so I can inspect the element directly?
Thanks!
Thread Starter
Ovidiu
(@ovidiu)
much appreciated if you could have a look although I have a strange suspicion it could be caused by a lightbox plugin.
http://pacura.ru/shoot-for-zando-co-za/
although the galleries used to be fine but as soon as I edited them to fix some errors in the text, they started looking like this 🙁
happy for any hint.
I found the issue. If you check the page’s source code, something is adding <p>
tags at the beginning of the “close group” comment within the tiled galleries.
I compared this to a gallery on my test site, which did add it.
If you’re filtering the content to add paragraph tags, that filter might be running at a bad priority for this.
A “cheap” fix would to add a bit of CSS to remove the padding for the <p
> tags, which is what’s actually causing the issue.
.tiled-gallery p {
margin: 0;
}
Cheers!
Thread Starter
Ovidiu
(@ovidiu)
You’re the man! As soon as you said p-tag I knew what was up as I’ve struggled with a similar issue for half the day already.
A few days ago I switched from using https://wordpress.org/plugins/black-studio-tinymce-widget/ to another cra**y a** editor and didn’T notice the new one apparently does filter the content twice adding p-tags all over the place.
Switching back right now 🙂 Thanks a million for spotting this!
boo to double filters! Glad it sounds like a relatively quick fix!