We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

WordPress shortcode puts the iframe inside a

Home Forums General Questions WordPress shortcode puts the iframe inside a

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #78081
    Pandern
    Customer

    Hi,

    I noticed now that the WordPress plugin puts the iframe inside a <figure> tag with styling that seems unneccessary:

    figure {
    display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 40px;
    margin-inline-end: 40px;
    unicode-bidi: isolate;
    }

    Why like this? :wacko: What can I do to avvoid this “feature”?

    • This topic was modified 2 months ago by Pandern.
    #78112

    Hi,
    This is typical in WordPress to use the <figure> tag when some content (images, videos, iframes, etc) are embedded into the page. In Verge3D plugin we use very basic tag without any CSS. So the props you see (margin, unicode…) are possibly assigned by your WP theme (you can easily override them though).

    Soft8Soft Tech Chief
    X | FB | LinkedIn

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.