Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1261586

    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

    #1262573

    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

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