PathmonkHelp
Help/CRO/Display & targeting/Micro-experiences overlapping parts of your site

Micro-experiences overlapping parts of your site

CategoryCRO › Display & targeting
CreatedNov 27, 2026
UpdatedNov 27, 2026

Pathmonk floats over your page, so on some websites it can sit on top of something of yours: a navigation menu with dropdowns, a cart that slides in from the side, a chat button. This article shows the ways to fix it, from the quickest to the most precise.

Option 1: move or hide the Pathmonk menu

Most overlaps are with the Pathmonk menu. You can change where it sits, or hide it.

Option 2: keep Pathmonk off the pages where it collides

If the overlap only happens on a few pages, such as the cart or the checkout, exclude those pages. See Including and excluding pages.

Option 3: turn it off on one device

If it only collides on mobile, or only on desktop, show micro-experiences on the other one only. See Choosing which devices show micro-experiences.

Option 4: put your own element on top with CSS

If you want Pathmonk to stay where it is and your menu or cart to open over it, add a small piece of CSS at the end of your Pathmonk snippet. It gives Pathmonk a fixed place in the stacking order of the page, so your own elements can sit above it. This is a job for whoever manages your website or your Google Tag Manager.

Your cart or panel should always be on top

Add this right after the Pathmonk snippet:

<style>
#pathmonk-root-div  { z-index: 2000 !important; }
#pathmonkBarDesktop { z-index: 1999 !important; }
#p_overlay_manual   { z-index: 1998 !important; }
</style>

Then make sure your cart or panel has a z-index higher than 2000.

Your dropdown menu should be on top only while it is open

Add this instead. Pathmonk stays on top as usual and moves behind your menu while the visitor has the pointer on it:

<style>
/* Default: Pathmonk on top */
#pathmonk-root-div  { z-index: 2000 !important; }
#pathmonkBarDesktop { z-index: 1999 !important; }
#p_overlay_manual   { z-index: 1998 !important; }

/* While the visitor is on your menu: Pathmonk goes behind */
body:has(.your-menu-class:hover) #pathmonk-root-div,
body:has(.your-menu-class:hover) #pathmonkBarDesktop,
body:has(.your-menu-class:hover) #p_overlay_manual {
  z-index: 1 !important;
}
</style>

Replace .your-menu-class with the class of your own dropdown menu. Your developer can find it with the Inspect view of the browser.

Where to add it in Google Tag Manager

  1. Log in to Google Tag Manager and open your container.
  2. Go to Tags and open the tag that holds the Pathmonk snippet.
  3. In the tag configuration, scroll to the end of the snippet and paste the CSS after the closing </script>.
  4. Click Save.
  5. Click Submit, then Publish.

If your snippet is not in Google Tag Manager, paste the CSS right after the snippet wherever you installed it. See Installing Pathmonk on your website.

Check the result

Open your website, open your menu or your cart, and check that it now shows over Pathmonk. Check on desktop and on mobile.

The Sandbox does not show this change, because the CSS lives on your website and not in Pathmonk. Check it on the live page.

Still overlapping?

Write to support@pathmonk.com with the address of the page and a screenshot, and we will look at it with you.