Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
  • #1360655

    Hi there,

    Since Enfold 5.0 (and latest version) something happend with HTML structure in combination with custom post types.

    With CPT UI we create custom post types and enable Avia Builder to create pages. Since Enfold 5.0 Avia builder sections are not included anymore in:
    <div id=”main” class=”all_colors”>

    It looks like this main div closes too early. Please check out the screenshot in the link below:

    Hope you can assist with this issue.

    Kind regards,
    Team VDLP


    Hi there,

    Solved it! This issue can be closed.

    Kind regards,
    Team VDLP


    And – maybe your solution to similar problems can help others?


    Hey Team VDLP,

    Glad you guys figured it out!

    Would you mind sharing your solution for future readers? :)

    Best regards,


    Hey Team VDLP,

    Your solution would be greatly appreciated. We are facing a same kind of issue as you are facing. Since the 5.0 update on some of the pages of our website <div> elements seems to be closing early which breaks the whole page.

    I have made a topic on our problem as well, as it could come in handy:


    Hi there,

    Adding this filter to functions.php (child theme) solved our issue.

     * Enable ALB for any post type
    function vdlp_alb_supported_post_types_mod( array $supported_post_types )
      	$supported_post_types[] = 'NAME_OF_CPT';
      	return $supported_post_types;
    add_filter('avf_alb_supported_post_types', 'vdlp_alb_supported_post_types_mod', 10, 1);


    Thanks for sharing your solution. We appreciate it :)



    hm – how did you manage it without that snippet before?
    The CPT’s aren’t included to advanced layout builder before Enfold 5.0 too …

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