Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #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:
    https://snipboard.io/G8JXKP.jpg

    Hope you can assist with this issue.

    Kind regards,
    Team VDLP

    #1360664

    Hi there,

    Solved it! This issue can be closed.

    Kind regards,
    Team VDLP

    #1360680

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

    #1360688

    Hey Team VDLP,

    Glad you guys figured it out!

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

    Best regards,
    Yigit

    #1360760

    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: https://kriesi.at/support/topic/broken-styling-since-5-0-update/

    #1360792

    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);
    #1360809

    Hi,

    Thanks for sharing your solution. We appreciate it :)

    Regards,
    Yigit

    #1361136

    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.