How do I adjust the width of my desktop page??

Solved

How do I adjust the width of my desktop page??

BGKelsey
Excursionist
20 0 10

Hi! I am needing help adjusting my webpage to not span the entire width of my desktop? I would like it to be centered with margins on the left and right. I cannot figure out the coding to do so. Any advice would be greatly appreciated!! 

 

Specifically the Designers page. https://bygeorgeaustin.com/pages/designers

 

https://lwyxwunm7ucixnlw-35823485063.shopifypreview.com

 

Thank you,

Kelsey 

 

Accepted Solution (1)

Made4uo-Ribe
Shopify Partner
10036 2386 3012

This is an accepted solution.

Hi @BGKelsey 

I just copy the width of example website which is 64rem and this is the result in your website. 

Made4uoRibe_0-1719869419925.png

This is the code I used. 

  1. From you Admin page, go to Online Store > Themes
  1. Select the theme you want to edit
  2. Under the Asset folder, open the main.css(base.css, style.css or theme.css)
  3. Then place the code below at the very bottom of the file.

 

@media only screen and (min-width: 749px){
.section-spacing.color-scheme.color-scheme--scheme-1.color-scheme--bg-54922f2e920ba8346f6dc0fba343d673 .container {
    max-width: 64rem;
    margin: auto;
}
}

 

  • And Save. 
If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.

View solution in original post

Replies 2 (2)

Made4uo-Ribe
Shopify Partner
10036 2386 3012

This is an accepted solution.

Hi @BGKelsey 

I just copy the width of example website which is 64rem and this is the result in your website. 

Made4uoRibe_0-1719869419925.png

This is the code I used. 

  1. From you Admin page, go to Online Store > Themes
  1. Select the theme you want to edit
  2. Under the Asset folder, open the main.css(base.css, style.css or theme.css)
  3. Then place the code below at the very bottom of the file.

 

@media only screen and (min-width: 749px){
.section-spacing.color-scheme.color-scheme--scheme-1.color-scheme--bg-54922f2e920ba8346f6dc0fba343d673 .container {
    max-width: 64rem;
    margin: auto;
}
}

 

  • And Save. 
If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
BGKelsey
Excursionist
20 0 10

Thank you SO much!!! Works great.