In this article
Divi's split testing is not compatible with caching because it relies on PHP, which is not available on a cached page.
Blog module disappears
The Divi Blog module is not compatible with the Optimize CSS Delivery feature. To resolve it you can:
- Disable Optimize CSS Delivery on the affected page
- Exclude the main Divi style sheet from the Optimize CSS Delivery option:
- Normally the file path is:
/wp-content/themes/Divi/style.cssbut if you are using a child theme it will be different.
- If you have also enabled Combine CSS in WP Rocket you should exclude the same file from that option:
Divi has its own options to minify and combine CSS and JS files, found under Divi > Theme Options > General.
In earlier versions of Divi, these were labelled Static File Generation.
These options should be set to Disabled in order to allow WP Rocket to handle minifying and combining with our File Optimization settings.
Currently the cache clearing of Divi's static files is not synced with the cache clearing of WP Rocket and this can create problems.
Slider module and LazyLoad
If you use Divi Theme Slider Module, it can cause image displacement from the original location when LazyLoad is turned on.
The only maintainable solution is to turn off LazyLoad for that specific page. Since Divi does not use filters to call slider module elements, we cannot use a hook to insert the
data-no-lazy="1" attribute to the
<img> HTML tag.
Although this is not recommended, you can manually fix this by editing line 612 of Divi/includes/builder/module/SliderItem.php file like this *:
sprintf( ‘<div class=”et_pb_slide_image”><img src=”%1$s” alt=”%2$s” data-no-lazy=”1″ /></div>’,
Keep in mind you will lose that change with the next theme update, though!
[* Thanks to Elephantmark for the fix!]
Missing font icons in IE 11
In some rare cases, you might not see icons on your site while browsing with IE11. You can resolve that behaviour by installing this small helper plugin:
Heads up! When theme developers update their code, it may affect which files need to be excluded. If these solutions do not work for you, let us know!