Is there an alternative way, perhaps using Webflow, to switch to a tablet layout after 1150px and improve the text flow in the design when scaling from desktop to tablet?

TL;DR
  • Simulate a 1150px tablet layout in Webflow by wrapping content in a container with a max-width of 1150px and applying layout changes via combo classes.  
  • Use custom code to add a class to the body when the viewport is under 1150px, allowing conditional styling without changing Webflow’s fixed breakpoints.

Webflow uses standard breakpoints, but you can create an alternative layout with a custom max width to simulate an earlier tablet view (like at 1150px). This requires using Webflow’s container widths and interactions creatively, rather than redefining breakpoints.

1. Understand Webflow’s Breakpoint Limitations

  • Webflow's built-in breakpoints are fixed: Desktop (base), 991px (tablet), 767px (mobile landscape), and 479px (mobile portrait).
  • You cannot change when these breakpoints activate (i.e., you can’t make tablet styles kick in at 1150px).
  • However, you can create custom styles that activate at higher widths using combo classes and container styles to simulate a layout change.

2. Use a Container with a Max Width of 1150px

  • Wrap your layout in a div block or section and give it a custom class, e.g., Responsive-Container.
  • Set the container to 100% width with a max width of 1150px.
  • Add padding or margin auto to center the content.

3. Add Layout Adjustments with Combo Classes

  • Use combo classes or custom elements that change layout based on parent container width, not screen width per se.
  • For example, change flex direction or show/hide elements depending on how compressed the content becomes inside the 1150px container.

4. Use Interactions to Enhance Experience

  • Add Webflow interactions or conditional visibility to swap layouts when the viewport width is below 1150px.
  • Use Client-side conditions (with custom code) to dynamically add a class when window.innerWidth < 1150.

5. Use Custom Code for Finer Control (Optional)

  • Inject a simple custom JavaScript snippet into your page’s footer to add a class to body when the window is under 1150px.
  • Then, style elements in Webflow using this new class (e.g., body.tablet-layout) to simulate a custom breakpoint.

Example inline logic:  

if (window.innerWidth < 1150) { document.body.classList.add("tablet-layout"); }

Summary

You cannot change Webflow’s built-in breakpoints, but you can simulate a tablet layout at 1150px by restricting container width and applying layout-specific styles or logic. For more precise control, use custom code to trigger style changes when the viewport is below 1150px.

Rate this answer

Other Webflow Questions