• Resolved mrprainx

    (@mrprainx)


    Hi. Is there a way to make the shortcode “stay where it is”?

    I’m using it inside a Slider Revolution text/html layer, but the shortcode creates a new div outside the layer, thus resulting in a broken layout.

    Here’s a screenshot

    The shortcode is placed where the arrow points, but it’s displayed outside of its container.

    Thank you in advance.

    • This topic was modified 4 years, 1 month ago by mrprainx.
Viewing 1 replies (of 1 total)
  • Thread Starter mrprainx

    (@mrprainx)

    Sorry, I’ve just realized that this was caused by the layer acting as a <p> tag. And of course you can’t have a <div> inside a <p>. Changing the layer to standard <rs-layer> tag fixed it.

    Sorry again.

    Kind regards.

Viewing 1 replies (of 1 total)
  • The topic ‘Avoid shortcode to go outside the designated area’ is closed to new replies.