Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1101405

    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

    #1101425

    Hey matthias,

    Thank you for using Enfold.

    Did you register your CPT using filter avf_alb_supported_post_types ?

    Best regards,
    Günter

    #1101428

    Great, thanks a lot. fixed it, can I remove the old avf_builder_boxes filter then?

    #1101773

    Hi,

    Yes. It is obsolete for CPT now.

    Enjoy the theme and feel free to come back when you need further assistance.
    Have a nice day.

    Best regards,
    Günter

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Broken HTML structure with custom post type’ is closed to new replies.