Lazy Load Elementor Background Images
A major drawback to using Elementor is that the background images used for sections and columns are all loaded when the page loads. Using a plugin like WP Rocket or BJ Lazy Load will not solve this issue. This plugin fixes that. The plugin is dead simple. No extra database tables or queries, no admi
A major drawback to using Elementor is that the background images used for sections and columns are all loaded when the page loads. Using a plugin like WP Rocket or BJ Lazy Load will not solve this issue. This plugin fixes that.
The plugin is dead simple. No extra database tables or queries, no admin screens with difficult options to understand, and no dependencies other than that the page is designed with Elementor. It injects a little JavaScript and CSS on the front-end. The CSS hides all backgrounds on all non-animated sections and columns. The JavaScript detects the visitor’s scrolling and starts loading the background images as they get close to those sections/columns using the WayPoints JS library (which is packaged with Elementor).
New
- support has been added for the following Elementor Pro elements: Flip Box and Slider – thanks for the idea @dollhauss
- 01WP Dashboard > Plugins > Add New
- 02Search for Lazy Load Elementor Background Images
- 03Install and activate.
Prerequisites
- 04You must be using the Elementor page builder. This plugin doesn’t have any effect whatsoever on pages not built with Elementor.
- 05WayPoints JS library – this library is currently bundled and loading on Elementor pages. Future versions of this plugin may include the WayPoints JS library so it will not be required.
Frequently asked questions.
How do I know if this is working?
If your pages start loading faster, it’s probably working. That’s the non-technical version.
If you’re a developer and know how to use Google Chome Developer Console, read on …