Join the Webstudio community

Updated 6 months ago

Website Max-width

At a glance

The community member is asking for the best way to set a max width of 900px and center the content of a web page in their Webstudio project. A community member responds with the solution to put a box inside the body and set the styles max-width: 900px; margin-left: auto; margin-right: auto; to achieve the desired layout. The original poster acknowledges the solution with "thanks!!".

What is the best way to add max width to our Webstudio project (body width?) I want the content of a web page to be centered and max width of, say 900px. What is Webstudio approved way of doing this?
B
m
2 comments
You need to put box inside of body and set these styles to it
Plain Text
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
Add a reply
Sign up and join the conversation on Discord