Change width of a single page in Editions theme

Hello,

I’ve been trying to figure out how to change the main content wrapper width to 1200px on the portfolio page only. Would anyone be able to help me figure this out? Thank you!

My goal is to expand the portfolio images so they are wider and larger.

https://hillaryproctorstudio.com/pages/portfolio

1 Like

You can achieve this by editing the theme code for their portfolio page. Shopify themes use Liquid code, so you’ll need to find the section that controls the width of the content wrapper and change it to 1200px.
If you’re not comfortable editing code themselves,We at spatrk agency can help you out having one of the very best when it comes to shopify stores design at a very affordable price

Hi @hillyjane ,

You can try this code by following these steps:

Step 1: Go to Online Store->Theme->Edit code.

Step 2: Search file theme.liquid

Step 3: Paste the below code at the bottom of the file → Save


Hope my solution works perfectly for you!

Best regards,

Oliver | PageFly

Thank you! I’ll try this.

While this did work, it applied it to all pages, I was hoping to only use it for the /portfolio page, thank you though!

Actually, I copy and pated that code in on the portfolio.liquid and it worked! So I guess there was a halfway workaround.