Yes, the default container width of 960px in Webflow can be changed to a custom value like 1140px for responsive design needs.
1. Understand the Default Container
- The Webflow Container element has a default max-width of 960px and centered alignment.
- It also has preset padding on both sides to ensure proper spacing on smaller screens.
2. Change the Default Container Width
- You cannot directly change the default Container’s max-width via global project settings.
- However, you can override it using a custom class on the container:
- Add a class to your Container (e.g.,
custom-container
). - In the Style panel, set the Max Width to
1140px
. - Adjust padding or width as needed for different breakpoints.
3. Use a Div Block for More Control (Alternative)
- Instead of using the default Container element, consider using a Div Block:
- Add a Div Block and give it a class (e.g.,
container-1140
). - Set Max Width to
1140px
, Width to 100%, and Margin: Auto for centering. - This gives you full control over width and behavior across breakpoints.
4. Make It Responsive
- Use Webflow’s breakpoints to adjust container max-width or padding on different screens.
- Consider reducing the width or adding responsive padding for tablets and smaller devices.
Summary
To use a width of 1140px instead of Webflow’s default 960px, apply a custom class to the Container or use a Div Block with full styling control. This approach supports flexible, responsive design.