Install Sam free

★ 4.9 (107 reviews) Built for Shopify Free plan available

Guides

Keeping Mobile Sales Popups Out of Sticky Add-to-Cart Bars

TL;DR

To keep mobile sales popups from covering a sticky add-to-cart bar, either move phone notifications to the top edge of the screen or raise their mobile vertical offset above the sticky bar's height (plus at least 8 pixels of tap clearance). You can also restrict floating toasts to home and collection pages and use inline urgency blocks below the buy button on product pages.

To stop a mobile popup from blocking your sticky add-to-cart bar, move phone toast notifications to the top edge of the screen or raise their mobile vertical offset above the bar. You can also limit floating sales popups to home and collection pages, leaving product pages to inline urgency blocks that scroll with the buy form.

On desktop, sticky add to cart and popups rarely cross paths. On a phone, they compete for the same strip at the bottom of the screen. This guide explains why the overlap happens, how to fix it on Shopify, and how to set phone placement in Sam FOMO. For how popups fit with reviews and stock signals across your store, see our social proof guide for Shopify.

Why do mobile popups collide with sticky add-to-cart bars?

They collide because both widgets sit outside the normal page layout and lock to the bottom of the phone viewport. Neither widget knows the other is there.

On desktop, a recent sales toast sits in a corner—for example, 20 pixels from the bottom-left edge—while your Add to Cart button sits in the center column. On a phone screen (768 pixels wide or narrower), there is no room for a side corner. A toast notification spans most of the screen width so the thumbnail and text stay readable, right where themes and sticky cart apps pin a bottom Add to Cart bar.

In CSS, an element with position: fixed is removed from normal document flow and placed relative to the viewport, creating no space for itself in the page layout (MDN Web Docs). A position: sticky bar acts the same way once a shopper scrolls and the bar locks to its bottom offset.

Because Shopify apps load as separate theme app embeds (Shopify.dev), the browser layers them using z-index, where elements with a larger value cover those with a smaller one (MDN Web Docs). Popup embeds use very high z-index values so theme headers don’t hide them—meaning a bottom toast sits right over a bottom sticky Add to Cart bar unless you move or offset it.

What happens when a popup blocks the buy button on phones?

When a toast slides over a sticky Add to Cart bar, shoppers trying to buy tap the popup instead of adding the item to their cart. That creates three problems on mobile product pages:

  1. Accidental redirects. Recent sales and review popups link to the featured product. If a shopper reaches for the sticky Add to Cart button right as a toast for another item slides in, their tap opens a different product page.
  2. Crowded touch targets. Google recommends a minimum touch target of around 48 by 48 device-independent pixels (about 9 mm) with at least 8 pixels between targets (web.dev). Stacking a popup link, a close button, a sticky buy button, and a chat bubble at the bottom of a phone screen leaves no room for thumbs.
  3. Intrusive overlay friction. Google Search Central warns that dialogs obstructing users’ view of content frustrate visitors and erode trust, advising sites to use small banners that take up only a small fraction of the screen (Google Search Central).

A fourth problem can happen between popups: if an app hides its card with opacity: 0 without disabling pointer events, the invisible box still blocks taps underneath. In Sam FOMO, the popup container sets pointer-events: none on empty space and on hidden or buried cards, so taps pass through to your store when no notification is visible.

How can you keep mobile sales popups clear of sticky bars?

You have four ways to separate mobile toast notifications from a sticky Add to Cart bar. Pick the one that matches your theme’s header and product page layout.

SolutionHow it works on phonesBest whenWhat to watch out for
1. Move phone position to TopKeeps desktop popups in a bottom corner; pins phone popups to the top edgeYour product page has a bottom sticky cart bar and a chat buttonCheck that the top toast doesn’t cover a sticky header cart icon
2. Raise the phone vertical offsetKeeps phone popups at the bottom edge, pushed up by a custom pixel offsetYour mobile header is tall or sticky, and your bottom sticky bar is slimMeasure the sticky bar height so the gap stays at least 8 px
3. Show toasts only on non-product pagesRuns Recent Sales on home and collection pages; skips product and cart pagesYour product page already has inline reviews, stock counts, or bundlesKeep product-level trust signals near the buy button
4. Use inline blocks or a top barPlaces countdowns inside the page flow below Add to Cart, or uses a top promo barYou want urgency on product pages without a floating cardDon’t pair a bottom promo bar with a bottom sticky cart bar

For a full breakdown of which social proof signals belong on each page template, read where to place social proof on a Shopify store.

Option 1: Move mobile notifications to the top edge

On a phone, left and right corners merge because the card is centered across the screen. That leaves two mobile slots: the top edge and the bottom edge.

Moving phone notifications to Top is the cleanest fix when your bottom edge already holds a sticky Add to Cart bar, cookie banner, and chat launcher. Shifting the toast to the top edge keeps the bottom thumb zone open for buying. Keep the display time short (4 to 5 seconds), leave the close button on, and set a clear gap between popups so your header stays easy to tap. See our guide to popup frequency and gaps for pacing rules.

Option 2: Raise the mobile vertical offset above the sticky bar

If your store uses a tall sticky header and a top announcement bar, you can keep toast notifications at the bottom of the phone screen and raise their phone vertical offset above the sticky Add to Cart bar:

  1. Open a product page in Chrome or Firefox DevTools using the mobile device toolbar (such as a 375 px or 390 px width).
  2. Scroll down until the sticky Add to Cart bar appears at the bottom of the viewport.
  3. Inspect the sticky bar and check its computed height. A single-row bar is typically 56 to 72 pixels tall; a two-row bar with a variant picker is often 88 to 110 pixels tall.
  4. Add 12 to 16 pixels of clearance. That clears the 8-pixel touch target spacing recommended by web.dev (web.dev).

For example, if your sticky bar is 68 pixels tall, a phone vertical offset of 80 or 84 pixels places the popup cleanly above the button. In Sam FOMO, the phone Vertical offset accepts 0 to 200 pixels and applies only on screens 768 pixels wide or under.

Option 3: Limit floating popups to home and collection pages

On a home or collection page, a Recent Sales or Product Reviews toast points browsing shoppers toward items they haven’t opened yet. Once a shopper is on a product page, tapping a popup for a different product pulls them away from the item they are evaluating.

If your product page already shows star ratings under the title and a low stock or sold count near the button, set your Recent Sales popup to Specific pages—such as the Home page and Collection page—and leave the Product page and Cart page unchecked.

Option 4: Use inline urgency blocks and top bars instead of bottom overlays

How each widget mounts in the page determines whether it can ever collide with a sticky Add to Cart bar.

Sam FOMO widget typeHow it renders on phonesCollides with bottom sticky cart bar?Recommended mobile setup
Corner notifications (Recent Sales, Live Visitors, Recent Visitors, Product Reviews, Sold Count, Low Stock Alert, Cart Notification, Cart Summary)Floating card (min-height: 76px, up to 340px wide) at the top or bottom edgeYes, if set to Bottom with the default 16px offsetSet On phones > Position to Top, or raise Vertical offset above the bar height
Countdown Timer (Product / Cart / Landing page block)Inline block inside the page layout (below Add to Cart or theme app block)No, scrolls with the page contentSafe alongside any sticky Add to Cart bar
Promo Bar or Countdown Bar (Top bar)Full-width strip (72px tall on mobile) in reserved space at the top of <body>; scrolls with the pageNo, stays at the top of the documentGood for store-wide coupon codes and sale deadlines
Promo Bar or Countdown Bar (Bottom bar)Fixed full-width bar at bottom: 0 of the viewportYes, uses the same bottom: 0 slotSwitch to Top bar, or exclude the Product page under Visibility
Email Popup (Main Popup)Centered modal with backdrop; Floating Button sits at top: 50% on the left or right edgeModal pauses shopping until closed; Floating Button sits at mid-screen (50%)Trigger on delay or scroll, keep the close button easy to tap, and exclude the Cart page

In Sam FOMO, a Top bar Promo Bar reserves 72 pixels at the top of the page on mobile (56 pixels on desktop) and renders inside that space so it scrolls with the page (promo bar guide). It causes no layout shift and stays clear of the bottom edge.

How do you configure mobile popup placement in Sam FOMO?

In Sam FOMO, every corner notification has separate placement settings for desktop and phones (design, placement and timing guide).

  1. Open the notification. Go to Notifications and click the notification you want to edit (such as Recent Sales or Low Stock Alert).
  2. Pick the desktop corner. Open Placement and choose Top left, Top right, Bottom left, or Bottom right. If another active notification shares the same corner or phone edge, the editor warns you; notifications with identical offsets stack together.
  3. Choose the pages. Under Show on, pick All pages or Specific pages (Home page, Product page, Collection list, Collection page, Cart page).
  4. Set phone placement. Open More placement options and scroll to On phones:
    • Position: Pick Same as desktop, Top, or Bottom.
    • Vertical offset: Enter 0 to 200 px (default 16 px). If phone popups stay at the Bottom, set this to your sticky bar’s height plus 12 to 16 px (for example, 84 px), and use the same offset on every bottom notification so they stack cleanly.
    • Animation on phones: Pick Slide or Fade in-out.
  5. Check device and product rules. Use Devices (Desktop and Mobile) or Exclude products if needed, then switch the preview toggle to Mobile and click Save. For tips on keeping cards compact, see our sales popup design guide.

If you also run an email discount popup, open Popups, edit your popup, and go to Triggers & Placement (email popup guide). Under Page visibility, choose All pages except… and exclude the Cart page. See popup timing: delay, scroll or exit intent for help picking mobile triggers.

How do you test and verify mobile placement on your store?

An admin preview shows how your card looks, but it cannot load your theme’s sticky Add to Cart bar, chat widget, or cookie banner. Run a quick check on a real phone after saving:

  • Scroll past the main Add to Cart button on a product page in a private browser tab so the sticky bar locks to the bottom of the screen.
  • Wait for the first popup. Confirm a clear gap between the card and the sticky Add to Cart button, variant selector, and chat launcher.
  • Tap the close (×) button and the sticky Add to Cart button. Make sure each tap hits only its own target.

After a couple of weeks, open Analytics in Sam FOMO and check Performance by popup type (analytics and monthly impressions guide). It lists Impressions, Clicks, CTR, Close rate, and the mobile/desktop split for each type. A much higher close rate on mobile than on desktop means the card is still in the way—move it to the top phone edge, raise its vertical offset, or keep it off product pages.

Frequently asked questions

Why do sales popups cover my sticky add-to-cart bar on mobile?

Both elements use CSS fixed or sticky positioning anchored to the bottom of the phone viewport, outside the normal page flow. On narrow phone screens, a corner popup widens across the bottom edge, and whichever widget has the higher CSS z-index sits directly on top of the other.

Should mobile toast notifications go at the top or bottom of the screen?

If your product pages use a bottom sticky add-to-cart bar, a bottom promo bar, or a floating chat launcher, the top edge is usually cleaner on phones. If your mobile header is tall and sticky, keep the toast at the bottom and raise its mobile vertical offset above the sticky cart bar.

How much vertical offset keeps a mobile popup clear of a sticky cart bar?

Measure your sticky add-to-cart bar height on a phone screen (for example, 64 to 80 pixels) and add 12 to 16 pixels of breathing room. That leaves at least the 8-pixel gap Google recommends between touch targets so shoppers never tap the popup by mistake.

Can I set a different popup position on phones than on desktop in Sam FOMO?

Yes. In Sam FOMO, open Placement and click More placement options. Under On phones, set Position to Same as desktop, Top, or Bottom, and enter a separate phone Vertical offset between 0 and 200 pixels without changing your desktop corner.

Sources

  1. MDN Web Docs: CSS position property (fixed and sticky positioning)
  2. MDN Web Docs: CSS z-index property
  3. web.dev: Accessible tap targets
  4. Google Search Central: Avoid intrusive interstitials and dialogs
  5. Shopify.dev: Configure theme app extensions (app blocks and app embeds)

Part of our guide: Social proof →

Turn store activity into social proof

Install Sam FOMO free and turn on your first sales pop-up in minutes.

Install free on Shopify

★ 4.6 (17 reviews) Built for Shopify Free plan available