Open a news site on your phone, and you may see it happen immediately. A cookie banner appears, and instead of sitting neatly at the bottom of the screen, it covers the headline and the opening paragraph. The article is there, but you can’t read it until you interact with the banner first.

This problem is surprisingly common on mobile, including on large, well-resourced news sites. Cookie banners exist for a valid reason: they help sites collect consent and comply with privacy regulations. But when they block headlines, they stop users from doing the very thing they came to do — read the story.

That makes this less about regulation and more about design. The question isn’t whether consent banners should exist. The question is whether they should obstruct core content on small screens.

The answer is no. And the cause is usually technical, not legal.

This article explains why cookie banners block headlines on mobile, what design and implementation choices lead to the issue, how to diagnose it, and which CSS and JavaScript fixes prevent overlap without weakening compliance.

What Cookie Banners Are Designed to Do — and Where Things Go Wrong

Cookie banners inform users about tracking and ask for consent before loading non-essential cookies. Most sites use consent management platforms (CMPs) to handle preferences, categories, and third-party trackers.

The problem arises when banners designed for desktop layouts are reused on mobile without modification. On a large screen, a fixed banner can sit at the bottom of the page without interfering with content. On a phone, the same component may take up a significant portion of the viewport — and if no responsive offset is applied, it sits directly on top of the headline.

So the user lands on the page, but the first thing they see is a consent block instead of the story.

This isn’t a privacy flaw. It’s a layout assumption that doesn’t hold on smaller screens.

How Cookie Banners End Up Overlapping Headlines

In most cases, headline blocking happens because banners are positioned with position: fixed and placed at the top or bottom of the screen, without reserving visual space for them in the layout.

If the page doesn’t adjust spacing around the banner, the browser draws the banner over whatever happens to be there, which is often the headline or article intro. On a desktop, this may not be noticeable. On mobile, where vertical space is limited, the overlap is unavoidable.

Typical contributing factors include:

  • fixed or sticky positioning without padding or offset
  • banners that expand vertically when text wraps on small screens
  • CMP embeds that don’t ship with mobile breakpoints
  • multiple stacked elements competing for the same space

The browser isn’t misbehaving here. It’s doing exactly what the CSS tells it to do. The problem is that the layout never accounted for the banner as part of the usable page area.

Why Mobile Devices Experience the Problem More Often

Mobile layouts expose edge cases that desktops hide.

Headlines on mobile are usually positioned close to the top of the viewport. There is less buffer space. The address bar and browser UI already reduce available height, and any fixed element takes proportionally more room.

Add a tall cookie banner — with legal language, category explanations, and multiple buttons — and a large part of the screen disappears behind it. The user can’t see the top of the article, and scrolling does not help until they interact with the banner.

What feels like a “small overlay” in a desktop design review becomes a major obstruction on a phone.

That’s why many of these issues appear only in live mobile use, not during desktop-based QA.

Why This Matters for User Experience

When the headline is blocked, the user cannot evaluate whether the article is worth reading. They’re forced to engage with the consent UI before they’ve even seen the story.

This leads to predictable outcomes:

  • accidental “accept all” selections
  • quick dismissals without understanding
  • frustration and bounce behavior
  • lost trust in the experience

Some users install blockers or avoid the site altogether.

The interaction signals that compliance takes precedence over readability — even when a simple spacing adjustment would avoid the problem entirely.

The issue isn’t that the banner exists. It’s that the banner has been allowed to compete with core content.

How to Diagnose Cookie Banner Overlap Problems

The most reliable way to diagnose the issue is to test on a real mobile device.

A practical workflow:

  1. Load the page on a phone
  2. Do not scroll
  3. Check whether the headline is visible without interacting

If the headline is partially or fully hidden, treat it as a real usability defect.

Then inspect in DevTools:

  • simulate mobile viewport sizes
  • inspect the banner container
  • check CSS position and z-index
  • examine padding-top / padding-bottom behavior
  • watch when scripts inject the banner

In most cases, the cause will be:

  • a fixed banner
  • no layout offset
  • text wrapping to multiple lines
  • height expansion at small screen widths

The issue is structural, not incidental.

CSS Approaches That Prevent Overlap

The most effective solution is to ensure the layout reserves space for the banner rather than placing it on top of the page.

Common approaches include:

  • applying padding to the page container when the banner is visible
  • placing the banner outside the primary reading region
  • reducing banner height on small screens
  • creating separate mobile breakpoints instead of scaling the same component

For example, adding bottom padding when a banner is present:

body.has-cookie-banner {
  padding-bottom: var(--banner-height);
}

or ensuring that scroll targets don’t sit directly beneath it:

main {
  scroll-margin-top: var(--banner-height);
}

Bottom-anchored banners tend to be less disruptive than top-anchored ones, especially on news layouts where the headline appears near the top of the viewport.

The principle is simple: treat the banner as part of the layout, not a floating overlay.

When JavaScript Adjustments Are Useful

Most fixes should be handled in CSS. But in some edge cases — especially when banner height changes dynamically — lightweight JavaScript can help detect collisions and adjust spacing in real time.

Useful enhancements include:

  • checking whether the banner overlaps the headline
  • applying an offset class when a collision is detected
  • collapsing non-essential legal text on small screens
  • deferring expandable details into a secondary view

The aim is not to animate or hide the banner. It is to ensure that the user can see the headline while the banner remains available and actionable.

JavaScript should correct behavior — not paper over layout problems.

Mobile-First Best Practices for Cookie Banners

A well-designed mobile banner:

  • takes up as little vertical space as practical
  • uses clear, readable controls
  • does not obscure key content
  • adapts to viewport constraints
  • allows users to review or change settings later

Consent remains meaningful. The page remains readable. And users are not forced to choose before they understand what they are choosing in context.

Compliance and usability don’t conflict when banners are treated as part of the interface rather than an afterthought.

Bottom Line

When cookie banners block important headlines on mobile, the problem isn’t regulation — it’s implementation.

Most cases come down to:

  • fixed positioning
  • no spacing compensation
  • desktop-first design assumptions
  • limited mobile testing

The fix is not complicated, but it requires intent:

  • reserve space for the banner
  • respect the headline as primary content
  • test on real devices
  • design the consent UI with the same care as the article layout

Users should not have to clear an obstacle just to read the first line of a story.

A consent banner can support privacy and still respect visibility — as long as it is designed for the screen on which it appears.