Maaz Zindani

Loading the index…

↑↓ move↵ openesc close4072 pages

Help for owners

My cookie banner covers my site or broke the page layout

Short answer

A cookie banner breaks a layout when it is fixed over the page, injected at the top and pushes content down, or loads late so the page jumps. Tell the banner tool and your page apart first. Fix the banner's size and position, and make sure any change keeps consent choices passing to your analytics.

  • Written for business owners
  • Updated
  • By Maaz Zindani, Senior Software Engineer

Does this sound like your situation?

  • The banner covers the buy, booking or contact button on phones.
  • The page jumps down when the banner appears.
  • The banner cannot be closed, or comes back on every page.
  • Choosing 'reject' or 'accept' does nothing visible.
  • Since adding the banner, my tracking numbers dropped.

Why does this happen?

  1. The banner is fixed on top of the page

    A banner pinned to the bottom or middle of the screen covers whatever is underneath. On a phone it can fill most of the screen and sit exactly over the main button.

  2. It is injected and pushes content down

    A banner added at the top of the page makes the rest of the page move when it appears. Visitors then tap the wrong thing, and speed scores that measure layout shifts can drop.

  3. It loads late or conflicts with other scripts

    A banner that loads after the page, a second consent plugin, or a speed plugin that delays scripts can leave the banner stuck, doubled or invisible while still blocking clicks.

  4. Choices are not passed to other tools

    A banner only records a visitor's choice. Your analytics and ad tags have to be set up to read it. Google describes consent mode as telling its tags whether users agreed, and notes that it does not provide a banner of its own.

  5. A rushed fix removed the banner entirely

    Hiding the banner with a style rule can make the page look right while the choice is never recorded, so tags still run without consent being collected.

What can I do about it today?

  1. Take screenshots on a phone and a desktopShow the banner open, and after each choice. This shows a developer exactly what a visitor sees.
  2. Note which tool provides the bannerPlugin, builder feature or an external service. Only one should be active. Do not install a second one to fix the first.
  3. Do not hide the banner with a quick style trickIt can look fixed while consent is no longer collected. Ask what the banner is meant to do on your site before removing it.
  4. Compare your visitor numbers before and afterIf you can see a clear drop from the day the banner went live, tell the developer the date.
  5. Ask a qualified adviser about what you must showWhat a banner must contain depends on where your visitors are. I do not give legal advice.

When should I bring someone in?

  • The banner blocks buying or booking and you are losing customers now.
  • Your tracking or ads stopped working after the banner was installed.
  • You use several tools (analytics, ads, chat) and need them to respect the choice.

How do I handle it?

  1. Separate layout from consentI fix how the banner is sized and placed on every screen size, and check separately that the recorded choice is read by the tags on your site.
  2. Remove duplicatesI look for two banner tools, or a plugin and a builder feature, running at once, and keep one.
  3. Stop the page jumpingI give the banner reserved space or a fixed position that does not cover the main actions, then test on small phones.
  4. Verify before and afterI check that choosing accept and reject changes what the tags do, and you get a short note of what was changed. Backup before any change to production.

The price depends on what I find, so I quote in writing after a short discovery call. Tell me what is happening and I reply within 24 hours.

What do owners ask about this?

Can I just remove the banner?

That is a legal and business decision I cannot make for you. Ask a qualified adviser what applies to your visitors, and do not remove it just to fix the layout.

Does the banner stop my analytics?

It can, if choices are not passed on or the tags are blocked until consent. Google's consent mode page explains basic and advanced modes and how a denied choice changes what its tags collect.

Why did my speed score get worse?

A banner that appears late and moves content counts as layout movement. Giving it fixed space usually helps.

Sources

How was this page made?

I drafted this page with AI assistance from the official documents listed under Sources. Found a mistake? Tell me.

Next step

Want this off your desk?

Send me a few lines on where things stand. I reply within 24 hours.