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

    Hi,

    My team and I often mock up a page via the avia layout builder for our footers. We grab the debug code and then use that code inside of a custom html widget. Prior to 4.0.7, this worked flawlessly but after the update, it ruined how equal height columns render in the DOM. I brought this up a long time ago in one of my other posts and never decided to pursue an answer from the Enfold team. However, I decided to dig into finding the reason why this might be happening and found the code that breaks my custom footers.

    I was just curious if Enfold could suggest any workarounds for my issue such as making a function that would prevent this code from rendering in the footer… or add a fix in enfold in the future… or something else of the sort.

    Here is the code that triggers the columns to break found in columns.php.

    
    /**
     * check if row will break into next column
     */
    
    if( ( false === $force_close ) && ! empty( avia_sc_columns::$first_atts['min_height'] ) && ( 'av-equal-height-column' ==  avia_sc_columns::$first_atts['min_height'] ) )
    {
    	if( ! isset( $meta['siblings']['next']['tag'] ) )
    	{
    		$force_close = true;
    	}
    	else if( ( avia_sc_columns::$calculated_size + avia_sc_columns::$size_array[ $meta['siblings']['next']['tag'] ] ) > 1.0 )
    	{
    		$force_close = true;
    	}
    }
    
    

    Here is a test site that the issue occurs on. I currently have the above code commented out in my columns.php but is easily adjustable to demonstrate the issue.

    • This topic was modified 6 years, 9 months ago by bitojoe.
    #850664

    Hey bitojoe,

    There is an update for the Equal Heights, that will be released pretty soon.
    There are 3 files that are been changed, if it is not an important need for you and you can wait a bit it will be out
    If not – let us know and will send u over those changes.

    Best regards,
    Basilis

    #850666

    Our Team will gladly wait it out – I’m just glad there is a fix in the works! Thank you so much Basilis and the entire Enfold team! You can mark this as closed now (:

    #850805

    Hi,

    Thanks for understanding. We have found the problem and it will likely be included in the next version of the theme. I’ll close this thread for now, please open a new thread if you should have any further problems.

    Best regards,
    Rikard

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Using column shortcodes in the footer via custom html widget’ is closed to new replies.