Jump to content

Setting Maximum Width for all content on website

Recommended Posts

Hello, I am trying to set a maximum scaling size to a website I am designing and have tried some code options but none have worked. Is there a way to make sure all text and content stops scaling at a specific width? 

This is the code I am working with so far: 
#site{
     max-width: 1920px; /*Adjust here.*/
     margin-right: auto;
   margin-left: auto;}
//limit nav/logos/titles
.header-inner {
  max-width: 1920px; /*Adjust here.*/
}

siteurl:  https://hystudio.squarespace.com/
pwd:   hystudio

Link to comment
  • Replies 2
  • Views 1.4k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

I would like all the assets including text and images to stop scaling at a specific width so that the content is not too big on larger screens. I am okay with there being some margin on either side as a result. 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.