Your floating button sits in the same place on every page. On some pages, such as product pages with a sticky add-to-cart bar, it might overlap something. Instead of moving it everywhere, you can use a Static Prism to show the button in a different position on those pages, and keep the default position everywhere else.
Step 1: Let the button show outside its container
Go to Campaigns and open the campaign's popup in the editor.
In the step bar at the top, select the floating button. Floating buttons are on the left of the step bar.
In the element tree, select the outermost container of the floating button.
Under Layout, set Overflow to Visible, so elements positioned outside the container still show.
Step 2: Add a Static Prism with a variant for each position
Click + on the container to open Add element, and add a Static Prism.
Inside the Static Prism, add a Container for each position. Each container is a variant. For example:
Variant 1: the button position for product pages
Variant 2: the default position for every other page
Move your floating button content into each container.
đĄ Note: Alia checks the variants from top to bottom and shows the first one that matches. Put the page-specific variants at the top and the default one last.
Step 3: Set the page rule on each variant
Select the first container (the product page variant).
Under Show this variant if, click Select a filter and choose Is on page(s).
Choose By path only, then Contains, and enter the path, such as
/products.Leave the last container (the default position) with no rule. A variant with no rule always matches, so it shows on every page where the variants above it don't.
Step 4: Adjust the position of each variant
Select the floating button inside the variant you want to move.
In the right sidebar, under Margin, increase the bottom margin to move the button up, or the left margin to move it across. For example, a larger bottom margin on product pages lifts the button above a sticky add-to-cart bar.
To rotate the button, use Rotation.
Repeat for the other variant if needed.
Save and publish the popup.
The canvas shows one variant at a time and doesn't check the rules. Click Preview and visit a product page and another page to check each position.
FAQ
Can I hide the floating button on some pages instead?
Yes. Use the same setup, but leave the page-specific variant empty, or use Is not on page(s) on the only variant. Campaign targeting applies to the whole popup, so a Static Prism is the way to change only the floating button.
Still have questions?
Start a chat from inside the Alia app, or use the chat in our Help Center.



