Is it possible to place a component without the wrapping div?

Hye!

Components, either if they are inserted via the Component element or via a shortcode in a Raw Content element, are being placed within a div that wraps them:

<div class="cs-content x-global-block x-global-block-nnnnn ennnnn-e0"></div>

Is there a way to prevent this from happening? I mean, to insert the components in the builder without being wrapped in an extra div.

Thanks!

Regards

Hey Diego,

Thanks for reaching out!

That feature doesn’t exist yet, what you can do it add attritube no_wrapper=“1” to your shortcode to turn off the outer div creation.

Note: This feature is already listed in our feature request items.

Hope that helps.

Hey Marc,

I appreciate your prompt response.

It is good to know that it was in your feature request items list already.

Unfortunately, the attribute no_wrapper is not working on my end. This is how I have it:

[cs_component id="nukHvV6FUbNpYiUm6f" no_wrapper="1"]

Could you please check if it’s working on your side?

Thanks!

Hello Diego,

The no_wrapper="1" attribute does not work because it is not on the latest release version yet. It may come on the next release update.

Please watch out for it.

Hello Rue,

OK, now I understand.

Thanks!

It’s always a pleasure, Diego.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.