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

Solved

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

BGKelsey
Tourist
8 0 4

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
6841 1633 2013

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 is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.

View solution in original post

Replies 2 (2)

Made4uo-Ribe
Shopify Partner
6841 1633 2013

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 is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.
BGKelsey
Tourist
8 0 4

Thank you SO much!!! Works great.