Blocked (Youtube) content container class making a mess of content layout
-
In the example page as linked, the classes
cmplz-placeholder-1
andcmplz-blocked-content-container
are added to theentry-content
div if consent isn’t yet given for setting Youtube and similar cookkies. The attributedata-placeholder-image="....."
, linking to a placeholder image of the blocked content (typically a preview of a YouTube embed), is also added.
The additional classes and the use of the placeholder image for theentry-content
div cause all the content within that parent div for all content to become realigned (and unreadable).As the page doesn’t use anything other than the Classic WordPress editor plug-in, not Gutenberg or other Elementor/Page Builder block-style editors, I am at a loss as to how to resolve this issue. It seems independent of theme or use of other plug-ins. Also, it seems more logical that the placeholder would only replace the iFrame containing the embed within the other content, not the parent div
entry-content
itself.Thanks in advance for any pointers on how to resolve this!
Kind regards,
EricThe page I need help with: [log in to see the link]
- You must be logged in to reply to this topic.