Hi,
I have created a custom post type and enabled the avia builder in the functions.php. For those pages, the HTML is created wrong:
<!-- end header -->
</header>
<div id='main' class='all_colors' data-scroll-offset='198'>
</div></div></div><!-- close content main div --></div></div><div id='section-casestudy' class='avia-section main_color avia-section-default avia-no-border-styling avia-full-stretch avia-bg-style-scroll av-minimum-height av-minimum-height-75 container_wrap fullsize' style='background-repeat: no-repeat; background-image: url(xxx.jpg);background-attachment: scroll; background-position: top center; ' data-section-bg-repeat='stretch'><div class='container' ><div class='template-page content av-content-full alpha units'><div class='post-entry post-entry-type-page post-entry-1337'><div class='entry-content-wrapper clearfix'>
IMHO, it should look like:
<!-- end header -->
</header>
<div id='main' class='all_colors' data-scroll-offset='198'>
<div class='stretch_full container_wr.....
It looks like the main-div gets closed too early, without the real content. The content is included after it.
Thanks
Matthias
Hey matthias,
Thank you for using Enfold.
Did you register your CPT using filter avf_alb_supported_post_types ?
Best regards,
Günter
Great, thanks a lot. fixed it, can I remove the old avf_builder_boxes filter then?