A background widget is a widget that you show behind the content of an Elementor section or container. You create it in the widget creator, the same way you create other widgets, and then choose it in the section or container settings.
Step 1
In your WordPress dashboard, go to Unlimited Elements > Background Widgets and click Add Background Widget.
Enter the Background Widget Title and the Background Widget Name. For the name, use English letters, numbers and underscores. You can also add a Background Widget Description. Then click Add Background Widget.
Step 2
The new background widget opens in the widget creator. Write its HTML, CSS and JS, and add attributes the same way you do for a regular widget. Each attribute you add becomes a setting of the background in Elementor.
Click Update to save the widget.
Step 3
Open your page in Elementor and select a section or a container. On the Style tab, open Unlimited Background and choose your widget in Background Type. Its attributes appear below it.
Use Background Location to choose where the background is shown: behind or in front of the content, or behind or in front of the whole site body or layout.