How can I adjust my theme's website width to 985px?

Hi everyone,

I wanted to change the website width of my current theme to be

985px

However, I am currently struggling to find which code to edit.

Could anyone help me please?

@Pland_Studio Hi

can you please share the theme name and store previews link so i can check.

##- Our Theme is Highlight and our url is http://www.pland.melbourne ,
password is plandstudiomelbourne1! -##

Hello There,

Please share your store URL and password.
So that I will check and let you know the exact solution here.

@Pland_Studio

can you please share store URL

@Pland_Studio Hi

I can see you are using this theme https://themes.shopify.com/themes/highlight/styles/art/preview
can you please provide me exact details what width you need to change.

I need the website width to be limited to 985px width

Our Theme is Highlight and our url is http://www.pland.melbourne ,
password is plandstudiomelbourne1!

@Pland_Studio
based on your input the.
I added CSS add the into .css file end of the file

#main {
 width: 958px;
 margin: 0 auto;
}

please check.

@Pland_Studio

you mean max mobile design look?

This looks correct. How can I change like this?

@AvidBrio

Why are the contents no longer centered?

@Pland_Studio Hi,

https://community.shopify.com/post/1435934

See this answer.

the content was centre based the width.

you need to add the code.

1. From your Shopify admin, go to Online Store > Themes.
2. Click Actions > Edit code.

The code editor shows a directory of theme files on the left, and a space to view and edit the files on the right.

#main {
   width: 958px;
    margin: 0 auto;
    text-align: center;
}

This code make all text are content center

@AvidBrio

That did not work.

All my contents are shifted weirdly now.

@Pland_Studio Remove this line from code.

text-align: center;

based on your input was code correct if dont know then please hire the experts https://experts.shopify.com/

@KetanKumar

I want to change the width of this

@Pland_Studio

please share which part do you need max width?