Gravity Elements
On this page
The Gravity Elements module drops a set of items (text tags, icons or images) into a box, where they fall, bounce and pile up like real objects. Visitors can drag and throw the items or click to scatter them.

How to add the module#
- Open your page in the Divi Visual Builder.
- Click the (+) icon inside a row to add a new module.
- Search for DMOE Gravity Elements in the module search box.
- Click the module to insert it. Its settings open on the right.

Content tab#
The Content tab holds the items and the settings for the physics and how visitors can interact with them.

Content tab: Physics#
- Feel: How the items move: how fast they fall and how much they bounce. Options: Light, Normal, Heavy and Bouncy.
- Starts when: What makes the items start to fall. Options: It scrolls into view, The page loads, The pointer moves over it and It is clicked.
- Entrance: How the items arrive. Options: Drop in, Burst and Already piled.

Content tab: Interaction#
- Drag and throw: Visitors can grab an item and throw it. A quick tap still opens its link.
- Drag on touch screens: Off keeps the page easy to scroll on phones. On lets a finger grab an item.
- Click to scatter: A click on an empty spot pushes the nearby items away.
- Tilt with pointer: The items lean toward the side the pointer is on.

Item settings#
Each item is a separate element. Click + Add New Item to add one, or click the gear icon next to an item to edit it. An item can show text, an icon, an image or a mix of them.


Item: Item#
- Text: The text on the item. It also names the item in the list and for screen readers. Leave it empty for an icon or an image only.
- Hide text: The text stays as the name of the item but is not shown.
- Show icon: Shows an icon on the item.
- Icon: The icon this item shows.
- Show image: Shows an image on the item.
- Image: The image this item shows.
- Image alt text: Describes the image for screen readers and search engines.
- Shape: Follow border uses the corners from the Border settings. The other shapes cut the item out; a border or shadow is cut with it. Options: Follow border, Hexagon, Diamond and Triangle.

Each item also has its own Design tab, so you can style one differently from the rest: item size, item text, item icon and item image, plus the standard Divi sizing, spacing, border, box shadow, filters, transform and animation settings.
The Link, Background and Meta groups are the standard Divi options.
Design tab#
The Design tab styles the play area and all the items with their text, icon and image. The other groups (text, sizing, spacing, border, box shadow, filters, transform, animation) are the standard Divi design options.

Design tab: Play area#
- Height: How tall the box is. The items fall inside it. It always takes the full width of the module.

Design tab: Items#

Design tab: Item text#
Use the standard Divi font settings to style the item text.

Design tab: Item icon#
- Icon size: How big the icon is in every item.
- Icon color: The color of the icon in every item.

Design tab: Item image#
- Image size: How big the image is in every item.
Use the standard Divi border settings to style the item image.

Advanced tab#
The Advanced tab has the standard Divi options: CSS ID and classes, custom CSS, attributes, conditions, visibility, transitions, position and scroll effects.
