Browser Width Condition

By  Stephan Depta
Last updated November 18, 2026

The Browser Width condition shows or hides an ad depending on how wide the visitor’s browser window is. You set a threshold in pixels and choose whether the window must be at least or at most that wide. The condition is part of AdPresso Pro and available since AdPresso 1.8.0.

It complements the Device condition. Device separates mobile devices from desktops. Browser Width looks at the space that is really available, so it also covers a narrow browser window on a large monitor or a tablet in landscape mode.

How to use the Browser Width condition

You can apply the condition to individual ads, ad groups, or entire placements.

  1. Open the ad, ad group, or placement you want to configure.
  2. Go to the Conditions section and add a new condition.
  3. Select Browser Width from the Audience group.
  4. Choose the operator “is at least” or “is at most”.
  5. Enter the width in pixels, for example 1024.
  6. Save your changes.

AdPresso measures the width of the browser window when the ad is rendered.

For a broader explanation of how conditions work in AdPresso, see the general conditions documentation.

Example: A leaderboard only where it fits

A 728×90 leaderboard needs more than 728 pixels of space. On narrower windows, it gets cut off or pushes the layout sideways. Add the condition “Browser Width is at least 768” to the leaderboard ad. Then create a second, smaller ad for the same placement, for example, a 320×50 banner, with “Browser Width is at most 767”. Put both ads into one ad group and assign the group to the placement. Every visitor now gets the format that fits their window.

Choosing the threshold

Use your theme’s breakpoints as a guide. Common values are 768 pixels for the switch between phone and tablet layouts and 1024 pixels for the switch to the desktop layout. If you pair two ads, make sure the two ranges do not overlap, as in the example above.

This is AdPresso

Streamlined WordPress ad management, built on 16+ years of expertise for serious monetization.
Features robust protection, targeting, A/B testing, diverse placements, and insightful tracking to spark your full revenue potential.

BlogStudies
AdPresso Logo