Hi there,
How can I change the page width from my shop page?
Hi @admintb
Is your product limited to two only? Can you provide your website so we can provide a code specific for you?
Hi @admintb
To change the page-width in your theme, you can use the code below
NOTE: The code below limits the with of the section by 1200px for 950px screen size and above
@media only screen and (min-width: 950px) {
.container {
width: 100%;
max-width: 1200px;
margin: auto;
}
}
@made4Uo Thank you already! But the width it’s to small now. Can you please change it? ![]()
Hi @admintb
This is Noah from PageFly - Shopify Page Builder App
Please add this code to your theme.liquid above the to get this solved
Step 1: Online Stores > Themes > More Actions > Edit code
Step 2: click on theme.liquid and paste the code above the
Hope this can help you solve the issue
Best regards,
Noah | PageFly
@PageFly-Noah I only want this for the collection page.
Hi @admintb Please delete the code above and add the new code here, it will only work for the collection page
{% if template contains 'collection' %}
{% endif %}
@PageFly-Noah Thank you! But can you just correct the code… The footer will also change the width to 90px…
@admintb Sorry? Can you explain it more for me, please? Because 90px is really small
@PageFly-Noah When I adjust the width of the page, the footer moves as well.