Overview
The Max Width Extension allows you to control the maximum width of any WordPress block, constraining content for better readability and layout control. Essential for creating well-proportioned, professional layouts with proper content width limits.
Key Features
- Custom Max Width: Set precise width limits in pixels or percentages
- Theme Integration: Use theme content width settings
- Alignment Options: Center, left, or right align constrained blocks
- Responsive Widths: Different max widths per breakpoint
- Unit Flexibility: px, %, vw, rem, em support
- Works with All Blocks: Apply to any WordPress block
How to Use
- Select any block
- Find Max Width setting in sidebar
- Enable Custom Max Width
- Enter width value and unit
- Choose alignment (center, left, right)
- Configure responsive widths if needed
- Preview layout
Settings
Width Settings
- Max Width: Maximum width value
- Unit: px, %, vw, rem, em
- Use Theme Width: Match theme content width
- Alignment: How to align when width is constrained
Responsive Settings
- Desktop Max Width: Width on large screens
- Tablet Max Width: Width on medium screens
- Mobile Max Width: Width on small screens (often 100%)
Common Width Values
- 640px: Optimal for reading text (60-75 characters)
- 768px: Tablet-friendly content width
- 960px: Standard desktop content width
- 1140px: Wide content, theme default
- 1200px: Extra wide content
- 100%: Full width of parent container
Best Practices
- Use 640-680px for long-form text content
- Center-align constrained blocks for balance
- Use theme width for consistency
- Set mobile max width to 100% or 95%
- Consider reading comfort – avoid very wide text
- Use max-width on paragraphs, headings, lists
Common Use Cases
- Article Content: Constrain to 680px for readability
- Forms: Limit width to 600px for better UX
- Headings: Match text content width
- Buttons: Prevent overly wide buttons
- Nested Content: Control width within wide sections
Typography & Max Width
Optimal line length for readability:
- 45-75 characters: Ideal line length
- 640px: Works for most font sizes (16-18px)
- Smaller fonts: May need narrower max-width
- Larger fonts: Can use wider max-width
Troubleshooting
- Content too narrow: Increase max-width value
- Not centering: Check alignment setting
- Responsive issues: Set appropriate mobile widths
- Conflicting with theme: Use theme width or adjust parent container