Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1103819

    One of the Enfold updates in the last month has caused various layout issues between my CPTs and columns. One of the issues is detailed below. My installation of Enfold, WordPress and CPT UI are all up-to-date.

    Goal: Create two columns, with equal height, that are vertically aligned to the middle
    Problem: Columns do not sit side-by-side as they should. Setting the first column to Equal Height and Vertically Aligned (Top/Middle/Bottom) causes the columns to stack as if the user is in mobile view. If I select “Individual Height”, they sit side by side fine and default to vertically aligned at the top.
    Timing: Issue began for my CPT posts (only CPT posts) after updating Enfold within the last few weeks.

    Details:
    1) This is a new issue that began when I recently updated Enfold.
    2) I am using CPT UI for my CPTs. CPT UI is one of the (if not the #1) best WordPress CPT plugins.
    3) CPT UI has come out with a new version after the problem began. I upgraded CPT UI, but that did nothing.
    4) The issue does NOT happen with the default Enfold CPT (Portfolio). Since this was working fine then broke immediately after updating Enfold, could there be something Enfold isn’t recognizing when a new, third-party generated CPT is created. Again, the default Portfolio CPT that comes with Enfold is working fine when it comes to the ALB and aligning columns.

    Anyone else having this issue? Any help is appreciated.

    #1103939

    I believe I finally found a solution. I REPLACED this first block of code in the child theme’s function.php file with the second block of code below. I hope it helps someone.

    ————————–
    OLD
    ————————–
    add_filter(‘avf_builder_boxes’, ‘add_builder_to_posttype’);

    function add_builder_to_posttype($metabox)
    {
    foreach($metabox as &$meta)
    {
    if($meta[‘id’] == ‘avia_builder’ || $meta[‘id’] == ‘layout’)
    {
    $meta[‘page’][] = ‘team’;
    $meta[‘page’][] = ‘careers’;
    }
    }

    return $metabox;
    }

    ————————–
    NEW
    ————————–
    function avf_alb_supported_post_types_mod( array $supported_post_types )
    {
    $supported_post_types[] = ‘careers’;
    return $supported_post_types;
    }
    add_filter(‘avf_alb_supported_post_types’, ‘avf_alb_supported_post_types_mod’, 10, 1);

    #1104074

    Hi,

    I’m glad this was resolved. If you need additional help, please let us know here in the forums.

    Best regards,
    Jordan Shannon

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘After Enfold update, columns on CPT posts will not sit side-by-side.’ is closed to new replies.