Comment on page
This section covers the group type Floating Group, which is used primarily for attaching a group to one of the sides of the screen, regardless of scrolling position
Floating Groups are a group type that can be set up to hover above other elements on the page and they can be attached to any side of the screen and stay there regardless of whether the user scrolls up and down.
Some typical use cases for floating groups include:
- Navigation menus: A floating menu bar that stays at the top of the screen while users scroll down the page.
- Social media icons: Floating icons that stay in a fixed position, usually in the corner of the screen, and provide quick access to social media profiles.
- Chatbots: A chat widget that pops up in a floating window, allowing users to communicate with a customer support agent or AI chatbot.
- Shopping carts: A floating cart that displays items a user has added to their shopping cart and allows them to checkout from anywhere on the site.
- Back-to-top buttons: A floating button that appears when a user scrolls down the page, allowing them to quickly return to the top of the page.
A typical use case for Floating Groups is to set up a navigation header that sticks to the top of the screen. The example above is from Bubble's homepage – which is built using Bubble.
Floating Groups can be set up to stay along the edge of the screen even if the user scrolls. It can follow the screen edge exactly or be place at a given distance using margins.
To set a Floating Group to stick to the edge, you need to pick a vertical and horizontal axis for the group to stay floating relevant to. You do this by opening up the Property Editor for the group and changing the following setting:
The two top settings in the Property Editor of the Floating Group allows you to have the group float relative to both the vertical and horizontal axis.
The z-index allows you to choose whether the Floating Group should float above or below the other elements, including the page itself.
Note that if you change the setting below to Beneath the page, the group will literally be beneath the page itself (and not just beneath the elements on the page). As a result, if the page has a background style, it may block the Floating Group from sight.