Skip to main content

Max Width

Sometimes you want to limit the width of a container. You can do this by adding the max-w-* class to the container. We use a 12 column grid system, so the max-width-12 class will set the max width to 12 columns, which is 1440px by default.

ClassDescriptionDefault Width
max-w-1Sets max width to 1 column120px
max-w-2Sets max width to 2 columns240px
max-w-3Sets max width to 3 columns360px
max-w-4Sets max width to 4 columns480px
max-w-5Sets max width to 5 columns600px
max-w-6Sets max width to 6 columns720px
max-w-7Sets max width to 7 columns840px
max-w-8Sets max width to 8 columns960px
max-w-9Sets max width to 9 columns1080px
max-w-10Sets max width to 10 columns1200px
max-w-11Sets max width to 11 columns1320px
max-w-12Sets max width to 12 columns1440px

Text Module Width

For constraining the width of Beaver Builder text and heading modules specifically, use the text-w-* classes. These are useful for improving readability by limiting line length on wide layouts.

Add the class directly to a Rich Text or Heading module in Beaver Builder.

ClassMax Width
text-w-xs15rem (240px)
text-w-sm30rem (480px)
text-w-md45rem (720px)
text-w-lg60rem (960px)
text-w-xl75rem (1200px)
note

These classes only apply to .fl-rich-text and .fl-module-heading.fl-heading elements. For general container width constraints, use the max-w-* classes above.