„Responsive Divi Backgrounds“ will allow you to optimize your website’s image delivery.
This plugin works only with the Divi Builder, usually part of the Divi Theme.
No configuration required.
- Visit Plugins > Add New
- Search for „Responsive Divi Backgrounds„
- Download and Activate the plugin.
- What are the requirements?
The Divi Builder by Elegant Themes.
- What are responsive backgrounds and why should I care?
When you upload any image into your website, WordPress automatically creates several smaller variants of your image.
If you display the image in a tag, the visitor will load a size that’s appropriate to their device.
This is a great way to speed-up your website and save bandwidth.
However, WordPress doesn’t handle background images in this way.
By default, the Divi Builder will always show full-sized background images.
This isn’t great because mobile users will have to download an unnecessary big file.
Especially for sliders, you would probably upload an image with size of atleast 1920x1080px to make it look good on big displays.
But what if your visitor is using a 320x640px phone?
They don’t need the big image, right?
This is where the „Responsive Divi Backgrounds“ plugin comes in handy.
The plugin prints CSS in the footer on pages that have slides or sections with background images.
The CSS basically tells the browser to display small-sized images on small devices, medium-sized images on bigger devices and so on.
Still don’t think you need this?
Just run a Google PageSpeed Insights test and you will see the „Properly size images“ opportunity lowering your score.
- What about browser support?
All browsers are supported (back to Internet Explorer 9).
The plugin will simply print some CSS media queries in the footer.
- Will this plugin affect the performance in a bad way?
The plugin should not cause any noticeable slowdown.
It’s designed to help improve your website’s performance.
The plugin won’t load any additional files.
Instead, it simply prints CSS inline in the footer.
The plugin checks the current page’s content and if there is a slider or a section with a background image, then the CSS gets printed.
All other posts/pages won’t be affected to maximize performance.
- Any other recommendations for my Divi website?
There are no reviews for this plugin.
Þátttakendur & höfundar
“Responsive Divi Backgrounds” er opinn hugbúnaður. Eftirfarandi aðilar hafa lagt sitt af mörkum við smíði þessarar viðbótar.Höfundar
Interested in development?
Release date: 15/12/2018
– Initial release
Release date: 14/01/2019
– Small fix to stop the „Undefined index“ PHP Notice
Release date: 13/09/2019
– Fix PHP Notice in admin dashboard. Main plugin logic will now load only on front-end.
– SVG images will now be skipped instead of causing errors.
– Improve code readability.