Hi.
I guess the override function is triggered too early in your environment.
You may try to trigger the resize action later.
You can see the same setup running in this example:
Anyway, how to increase the function timeout?
1. open the file /wp-content/plugins/acme-divi-modules/public/js/acme-divi-modules-public.js
Starting at row 32 we have the following functions:
/**
* ONLOAD Launcher
*/
$(document).ready(function () {
waitForFinalEvent(function () {
if(false==isFrontBuilder())
masonry_setup($('.acme_grid'));
if($('.acme_carousel').length > 0) {
var $et_pb_fullwidth_portfolio = $('.acme_carousel');
$et_pb_fullwidth_portfolio.each(function () {
var set_container_height = $(this).hasClass('et_pb_fullwidth_portfolio_carousel') ? true : false;
set_fullwidth_portfolio_columns($(this), set_container_height);
});
}
}, 40, 'callbackID');
});
/**
* ON WINDOW RESIZE Launcher
*/
$(window).resize(function () {
waitForFinalEvent(function () {
if(false==isFrontBuilder())
masonry_setup($('.acme_grid'));
if($('.acme_carousel').length > 0) {
var $et_pb_fullwidth_portfolio = $('.acme_carousel');
$et_pb_fullwidth_portfolio.each(function () {
var set_container_height = $(this).hasClass('et_pb_fullwidth_portfolio_carousel') ? true : false;
set_fullwidth_portfolio_columns($(this), set_container_height);
});
}
}, 40, 'callbackID');
});
At both row 46 and row 63 you will find this statement:
}, 40, 'callbackID');
The number 40 is currently the timeout value in milliseconds.
You can increase this value to an arbitrary time. I suggest you to try with 1000 and if the value is working for you, you can decrease that value to the minimum suitable.
As long as I can’t see your site, I can only guess.
Take care
mirko