Styles clash, or another dialog is on the page

Why your site's CSS does not change a popup, how to style one on purpose, and what happens when a cookie banner, a chat window or another dialog is open.

A popup lives on your page but is kept apart from it. That prevents most clashes, and explains the rest.

Your site's styles do not reach the popup

The popup is drawn inside a shadow root, an isolated part of the page. Styles from your site's stylesheet do not go in, and the popup's styles do not come out. So:

  • Your site's fonts, colours and button styles are not applied to the popup by themselves. Set them in the editor, or once in the Brand kit.
  • A rule in your theme's CSS that targets the popup does nothing.
  • The popup cannot break the look of your page.

Style a popup on purpose

The font looks different on the site

The campaign's font is loaded when the campaign shows. If the visitor's browser cannot load it, the popup uses the device's own font.

Another dialog is open

The script does not open a popup on top of another dialog of your site. Before it opens one, it looks for a dialog that is not its own, is open as a modal, is visible and covers the middle of the window. While there is one, the popup waits and looks again a second later. It opens when the other dialog is closed.

What counts as such a dialog: an HTML dialog element opened as a modal, or an element marked aria-modal="true".

What does not count, so the popup does not wait for it:

  • A cookie bar or any strip along an edge of the window.
  • A chat bubble in a corner.
  • A dialog that is closed or hidden.

The wait does not apply to inline campaigns, content lockers, a campaign opened by a click, or one opened by your site's code.

A popup and a cookie banner together

They can be on screen together. If that is too much at once, give the popup a trigger of a few seconds, or wait for the first scroll.

Two Tafsee popups

One popup shows at a time. A bar and an inline campaign have places of their own and can show with a popup. See Several triggers and campaign priority.

The page behind the popup

  • Stop the page scrolling keeps the page still while a popup is open.
  • Close on a click outside lets a click on the dimmed page close it.
  • A top bar and a welcome mat push the page content down. If your site has a header that stays at the top, check how they look together.

If it does not work

  • The popup never opens on a page where a dialog is always open: close that dialog, or open the campaign from a click.
  • A sticky element of your site covers the popup's corner: move the popup to another place under Placement.
  • Custom CSS has no effect: it must be written in the campaign's own box, not in your site's stylesheet.

Related

Last updated: October 12, 2026

Lead Generation

Tafsee Popup

Popups, spin-to-win wheels, countdown bars and exit-intent offers for any website — in English and native Arabic.

⚡ Native Arabic, never priced by pageviewsBilingual supportFree plan · 14-day trial
+966 58 267 6110+966 58 267 6110