Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Cookie banner covering your CTA or form: how to fix it

TRK-294Medium impactDetectedBy FunnelGuardPublished Updated
On this page

What this issue is

A consent banner is the box that asks visitors to accept or reject cookies. It is added by a consent management platform (CMP), such as Cookiebot, OneTrust, CookieYes or Complianz. Most banners are fixed to the screen, so they stay in place while the visitor scrolls.

This issue happens when that fixed box overlaps the main action on the page. It might hide a submit button, cover the first form fields, sit over a sticky "Add to cart" bar, or cover a chat or booking button. The banner may be doing its job, but it also blocks the page's job.

Why it costs you leads or sales

Visitors who cannot reach the button usually do not hunt for a way round. On a phone, a banner can take up a large part of a small screen. If the visitor cannot find a way to dismiss it, or the choice buttons are off screen, they leave.

There is also a tracking cost. If people leave before choosing, your consent rate falls, and ad and analytics tags that wait for consent have less to measure. You lose both the conversion and the data about it.

Where the funnel breaks
  1. Visit landing pagePage loads, banner appears
  2. Banner overlaps CTAButton or form is hidden or unclickable
  3. Click CTA or fill formVisitor cannot reach it
  4. Lead or saleNever happens

The banner sits on top of the button, so every step after it is lost.

Form submissions with and without the overlapExample numbers
Form submissions with and without the overlap (example)Banner covers form: 12 submissions per week; Banner clear of form: 35 submissions per week013271235Banner covers formBanner clear of formsubmissions per week

Example: illustrative numbers for a page with 1,000 weekly mobile visits. Your own numbers will differ.

How to check if your site has it

Test as a first-time visitor, because returning visitors who already chose do not see the banner. Use a private window, or clear the site's cookies first.

Manual check
  1. Open the page in a private window

    Load each page that has a main CTA or form: home page, landing pages, product pages, contact page and checkout.

  2. Look before you choose anything

    Without touching the banner, check that the CTA, form fields and submit button are visible and that you can click them.

  3. Scroll to the bottom

    Fixed banners often hide the last form field, the submit button, or the footer links.

  4. Resize the window

    In Chrome, open DevTools (F12), turn on the device toolbar and try a small phone, a tablet and a laptop width. Also try landscape on a phone.

  5. Check other floating items

    Look for clashes with chat widgets, sticky add-to-cart bars, booking buttons and the on-screen keyboard when a field is focused.

Common overlap patterns and what causes them
What you seeLikely cause
Banner covers the bottom of the screen on mobileBanner height too large, or a full-width bar with long text
Submit button is hidden behind the bannerFixed banner with no space reserved at page bottom
Banner shows but buttons beneath it cannot be clickedFull-screen overlay (modal or wall) that blocks the page
Chat button is hidden or the banner is hidden by chatBoth use a high z-index and the same corner
Form field jumps behind banner when the keyboard opensFixed element and mobile viewport resize

How to fix it

The goal is a banner that stays visible enough to make a choice but leaves your CTA free. Start in the settings of your consent tool, then use CSS only if the settings do not go far enough. Do not hide the banner or its choices to make the problem go away, as that can break your consent requirements.

Fix by platform
  1. Open your consent plugin settings

    In Complianz, CookieYes, Cookiebot or similar, find the banner layout or appearance tab.

  2. Change the layout

    Switch from a centred pop-up or full-screen wall to a slim bar or a small corner box. Shorten the banner text if the plugin allows it.

  3. Move the position

    If your CTA is at the bottom, put the banner at the top, or the other way round. Check mobile separately if the plugin has a mobile option.

  4. Clear caches

    Purge your caching plugin and CDN, then retest in a private window.

If your tool has no layout setting that helps, a small CSS change can reserve space or limit the banner's size. Class names differ between tools, so replace .cmp-banner with the real selector from DevTools.

Limit banner size on small screens (replace .cmp-banner)css
/* Replace .cmp-banner with your banner's real class or ID */
.cmp-banner {
  max-height: 40vh;
  overflow-y: auto;
}

/* Leave room at the bottom of the page so the last button is reachable */
@media (max-width: 768px) {
  body {
    padding-bottom: 160px;
  }
}
Banner layout

Before

  • Large banner fixed to the bottom of the screen
  • Submit button hidden behind it on mobile
  • Visitors leave without choosing or converting

After

  • Slim bar or corner box with short text
  • Space reserved so the button is always reachable
  • Visitors can choose and then complete the form

How to confirm it's fixed

Confirmation checklist
  • Open each key page in a private window with no saved consent
  • CTA, form fields and submit button are visible and clickable while the banner is showing
  • Test on at least one small phone width, one tablet and one desktop width
  • Test portrait and landscape on mobile
  • Open the on-screen keyboard in a form field and check the submit button is still reachable
  • Chat widget, sticky cart bar and banner do not overlap each other
  • Accept and reject buttons still work and are clearly visible

How to prevent it happening again

Overlaps usually return after a theme update, a new landing page, a new chat widget or a change to the banner's template. Treat the banner as part of every page you launch.

Prevention habits
  • Preview every new landing page with the banner showing, on mobile first
  • Retest after changing the CMP template, theme or page builder
  • Retest after adding a chat widget, sticky bar or pop-up
  • Keep banner text short so it takes less space
  • Leave bottom spacing in your page templates
  • Run an automated check on your key pages on a schedule
How the problem usually creeps in
  1. Day 1

    Banner is set up and looks fine on desktop.

  2. Week 2

    A new landing page puts the form near the bottom of the screen.

  3. Week 3

    On phones the banner now sits over the submit button.

  4. Week 6

    Enquiries from mobile ads drop, but nobody connects it to the banner.

A banner sitting over the button

The visitor sees the button but the banner is on top, so the click never reaches it.

How FunnelGuard handles this

FunnelGuard detects this today. Its robot visitor loads your page as a first-time visitor, the way a real customer would, and runs a check called cta_not_covered. The check looks at whether your call to action can actually be reached, or whether something such as a consent banner is sitting on top of it.

The check runs on a schedule as part of your journeys. If it fails, FunnelGuard re-checks from a second region before sending one alert by email, Slack, Teams, WhatsApp, webhook or PagerDuty. The alert includes a screenshot and a likely cause, so you can see what covers the button. FunnelGuard does not bypass CAPTCHAs or bot protection, and its test traffic is marked with utm_source=funnelguard, fg_test=1, an fg_test cookie and its own user agent.

The Free plan covers 1 site and 2 journeys with daily checks and no card. Paid plans start at $39/month (Freelancer) and have a 3-day free trial. A free read-only website audit is also available.

Questions people ask

Why is my cookie banner covering my button?

Most consent banners are fixed to the screen, so they sit on top of whatever is underneath. If your button or form is near the bottom or centre of a small screen, the banner can overlap it. Large banners, long text and pop-up layouts make this more likely.

How do I stop a cookie banner covering my form on mobile?

Change the banner layout in your consent tool to a slim bar or small corner box, and shorten the text. Add bottom padding to your page so a fixed banner cannot hide the last button. Then test in a private window on a real phone or in DevTools device mode.

Is it okay to hide the cookie banner so it does not block my CTA?

No. Hiding the banner or its reject button with CSS or scripts can breach privacy rules and your consent tool's terms. Move it, shrink it or change its layout instead, so visitors can still make a clear choice.

Why can't I click my button when the cookie banner shows?

A full-screen overlay or a banner with a high z-index can sit above the page and catch every click. Open DevTools, select the button, and check which element is on top of it. Switch to a non-blocking layout or fix the stacking order.

Does a cookie banner covering the CTA affect conversions?

It can. Visitors who cannot see or click the button often leave, and conversions fall on the screen sizes where the overlap happens. It can also lower your consent rate, which gives your tracking less data.

How do I test whether my cookie banner blocks my form?

Open the page in a private window so no consent is saved, and try to fill and submit the form without touching the banner. Repeat at phone, tablet and desktop widths, and with the on-screen keyboard open. An automated check like FunnelGuard's cta_not_covered can do this on a schedule.

Can a cookie banner overlap my chat widget?

Yes, if both are fixed in the same corner with high z-index values. Move one of them to a different corner or adjust their offsets, and test with both visible.

Does FunnelGuard catch this?

Detected

FunnelGuard checks for this today.

How: cta_not_covered.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.