Hello, I created a new element that extends the builder from a child theme. I would like to declare it in the array of full width elements that is initialized during configuration ($builder->setFullwidthElements( array(‘av_revolutionslider’, ‘av_layerslider’…), allowing a good management of HTML tags depending on the use cases. I didn’t find a way to do it in an elegant way. Could you help me? Thanks by advance, kind regards. Sylvain
Hey sfxmedia,
Thank you for the inquiry.
In the shortcode_insert_button function of the new element, you have to set the is_fullwidth config or parameter to “yes”.
// more $this-config here
$this->config['is_fullwidth'] = 'yes';
The filter avf_fwd_elements is now deprecated.
Best regards,
Ismael