Cookie Banner or Popup Covering Your Website? How to Fix It
Updated October 22, 2026
Cookie banners, email popups and chat widgets cover content when they are fixed to the screen and sized for desktop. On a phone they can hide the cart, checkout button or the whole page. Keep banners compact, make them easy to dismiss, delay marketing popups, and test key pages with every overlay showing.
Quick diagnosis
- Cart or checkout hidden on mobile: a bottom-fixed cookie banner taller than intended.
- Cannot close the popup on a phone: the close button is off-screen or too small.
- Page appears blank behind a dark layer: a popup failed to render but its backdrop did not.
- Chat bubble covers Add to cart: floating widget positioned over the primary action.
Causes and fixes
Cookie banners sized for desktop
Most commonA banner that takes 15% of a desktop screen can take half of a phone screen once its text wraps, covering whatever is at the bottom: usually the cart total or checkout button.
Fix: Shorten the banner text on mobile, cap its height, and keep the accept, reject and settings buttons visible without scrolling.
Popups with unreachable close buttons
Popups positioned with fixed pixel sizes put the close button above the top of the screen or behind the browser toolbar on phones.
Fix: Size popups with max-height: 90dvh and overflow: auto, place the close button inside the popup, and let a tap on the backdrop or the Escape key close it.
Marketing popups that fire immediately
A newsletter or discount popup that appears on page load blocks the content the visitor came for, and Google treats intrusive interstitials on mobile as a negative page-experience signal.
Fix: Delay popups (time on page, scroll depth or exit intent), use a small slide-in on mobile, and never show one on the cart or checkout pages.
Floating widgets over primary buttons
Chat bubbles, review tabs and back-to-top buttons sit in the bottom corners, right where sticky add-to-cart bars and mobile checkout buttons are.
Fix: Offset floating widgets on mobile, shrink them, or hide them on product and checkout pages.
Overlay rendered without its content
If the popup's script fails or its content is blocked, the dark backdrop can still appear and block the page with nothing to close.
Fix: Render the backdrop and the popup together, from the same script, so a failure shows neither.
Several overlays stacking
Cookie banner, app install banner, promo bar, popup and chat widget, each from a different app, add up to a page that is mostly overlay on a phone.
Fix: Audit every overlay on a phone in one session and allow at most one at a time on any page.
How to find it on your site
- 1
Clear cookies and open a private window
Overlays usually show only on a first visit, so your own browser may never see them.
- 2
Check key pages at phone width
Visit the homepage, a product page, the cart and checkout at 375px with every banner and popup still showing.
- 3
Try to complete the main action
Without closing anything first, try to tap Add to cart, Checkout or Submit. If you cannot, a customer cannot either.
- 4
Check tablet too
Tablet widths often get the desktop banner layout on a smaller screen. Repeat at 768px.
Fixes by platform
Shopify
Cookie consent apps, popup apps and Shopify Inbox all inject overlays. Check each app's mobile settings and use the theme customiser's mobile preview with a fresh session.
WordPress
Consent plugins (Complianz, CookieYes, Cookiebot) and popup builders have separate mobile layouts. Set the mobile banner to a compact bottom bar and exclude checkout pages from popups.
Wix and Squarespace
Built-in cookie banners are compact, but promotional lightboxes and announcement bars are not. Set lightboxes to not show on mobile, or to trigger later.
Custom code
Keep a single overlay manager so only one overlay shows at a time, and add an end-to-end test that completes checkout with the consent banner visible.
Frequently asked questions
Can a cookie banner cover my checkout button?
Yes. A banner fixed to the bottom of a phone screen can be tall enough to hide cart totals and checkout buttons. Keep it compact on mobile and test the cart and checkout pages with the banner showing.
Do popups hurt SEO?
Google says intrusive interstitials that cover the main content on mobile, especially right after arriving from search, can lower how a page performs in search. Legally required cookie banners that use a reasonable amount of space are treated differently.
How do I make my cookie banner smaller on mobile?
Shorten the text to one or two sentences, link to the full policy, place the buttons side by side, and cap the banner height. Most consent tools have a separate mobile layout setting.
Why can't I close a popup on my phone?
The popup is usually sized for desktop, so its close button is above the visible area or under the browser toolbar. Site owners should size popups to the viewport and allow closing by tapping outside.