Loupely Lens
How it works What it captures Compare Pricing Blog
Join the waitlist
How it works What it captures Compare Pricing Blog Join the waitlist
Skip to content
The image features a circular purple logo with a camera lens icon and the text "LoupeLy Lens" in a modern font. The logo is centered and includes a small dot representing the camera lens.

Loupely Lens

  • About
  • Acceptable Use Policy
  • Auth-Callback
  • Blog
  • Changelog
The image features a circular purple logo with a camera lens icon and the text "LoupeLy Lens" in a modern font. The logo is centered and includes a small dot representing the camera lens.
Loupely Lens
Popular Search chrome
  • All
  • A
  • B
  • C
  • D
  • E
  • F
  • G
  • H
  • I
  • J
  • K
  • L
  • M
  • N
  • O
  • P
  • Q
  • R
  • S
  • T
  • U
  • V
  • W
  • X
  • Y
  • Z
  • Home
  • Encyclopedia
  • M
  • max-width

max-width

< 1 min read

max-width is a CSS property that sets the maximum width an element is allowed to reach. If the available space is wider than the max-width value, the element stops growing at that point. If the available space is narrower, the element respects the narrower constraint instead.

It's one of the most common sources of layout confusion on WordPress sites because themes and page builders set max-width on container elements, and those constraints propagate down to everything inside them. A section set to width: 100% doesn't mean 100% of the viewport. It means 100% of whatever parent container the section is sitting inside, which may itself be constrained to 960px or 1200px by a grandparent container several levels up.

This is why "make it full width" sometimes appears to do nothing: the element you're editing is already as wide as its container allows. The real constraint is on a parent element you haven't touched. Loupely Lens captures the full ancestor chain and surfaces max-width constraints on parent elements as part of the layout diagnosis.

© 2026 Loupely Lens - WordPress Theme by Kadence WP

Loupely Lens The only CSS tool that tells you why your change didn't work. Every other tool copies styles. Lens diagnoses them.
Loupely Lens
How it works What it captures How Lens compares Pricing
Resources
Knowledge base Roadmap Changelog
Company
About Blog Indie Hackers
© 2026 Loupely LLC. Built by Joyce Akiko.
Privacy Terms
  • About
  • Acceptable Use Policy
  • Auth-Callback
  • Blog
  • Changelog