Notifications
Clear all

Product page images

8 Posts
2 Users
1 Reactions
335 Views
Aden Mott
(@adenmott)
Eminent Member
Joined: 3 years ago
Posts: 0
Topic starter  

Good morning Plak. I noticed today that on my product pages, the images for the products are "stuck" so the sides of the browser window and they scale in size when you shrink or enlarge the browser. This scaling is great but is there any way to fix the images so they aren't stuck to the sides of the page?


   
Quote
plaktheme
(@plaktheme)
Reputable Member
Joined: 5 years ago
Posts: 0
 
Posted by: @adenmott

Good morning Plak. I noticed today that on my product pages, the images for the products are "stuck" so the sides of the browser window and they scale in size when you shrink or enlarge the browser. This scaling is great but is there any way to fix the images so they aren't stuck to the sides of the page?

Hi @adenmott

Thanks for the remark about the product page appearance issue on large screens.

Here is a quick fix to this :

 

  • From your Shopify admin, click Online store > Actions > Edit code
  • Open the file theme.css
  • Change this code
.page-width {
max-width: 1400px;
margin: 0 auto;
padding-left: var(--gutter-site);
padding-right: var(--gutter-site); }

  • To this one
.page-width {
max-width: 100%;
margin: 0 auto;
padding-left: var(--gutter-site);
padding-right: var(--gutter-site); }
  • Click Save

 

Let me know if you have any other other issue

Best regards,
Katrine

Katrine | Technical support at Plak, Scrowp & Vantout
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as a Solved Solution


   
ReplyQuote
Aden Mott
(@adenmott)
Eminent Member
Joined: 3 years ago
Posts: 0
Topic starter  

Thank you Katrine. I tried that code but it did not fix the problem.  I am still seeing my product images and titles hugging the side of the browser window even when I expand or shrink the browser window.


   
ReplyQuote
plaktheme
(@plaktheme)
Reputable Member
Joined: 5 years ago
Posts: 0
 

@adenmott could you take a screenshot please? This will help spotting the issue

Katrine | Technical support at Plak, Scrowp & Vantout
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as a Solved Solution


   
ReplyQuote
Aden Mott
(@adenmott)
Eminent Member
Joined: 3 years ago
Posts: 0
Topic starter  

@plaktheme

 


   
ReplyQuote
plaktheme
(@plaktheme)
Reputable Member
Joined: 5 years ago
Posts: 0
 
Posted by: @adenmott

@plaktheme

 

oh I see now, thanks for the screenshot, I will access your store to fix this.

Katrine | Technical support at Plak, Scrowp & Vantout
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as a Solved Solution


   
ReplyQuote
plaktheme
(@plaktheme)
Reputable Member
Joined: 5 years ago
Posts: 0
 
Posted by: @adenmott

@plaktheme

 

I fixed the issue, for some reason there was a typo in this code in the collection-template.liquid file

class="paginae-width"

Where it should be

class="page-width"

 

Don't hesitate to reach out to us if you encounter any other issue 🙂

Katrine

Katrine | Technical support at Plak, Scrowp & Vantout
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as a Solved Solution


   
ReplyQuote
Aden Mott
(@adenmott)
Eminent Member
Joined: 3 years ago
Posts: 0
Topic starter  

Thank you very much Katrine. I went back through my theme saves before I make any edits and can see which save caused it to occur but no idea how it happened because I wasn't editing that code. You are the best!


   
plaktheme reacted
ReplyQuote
Share:

Welcome to the Shopify Forum Community provided by Plak ThemeLLC, a place where you can discuss about eCommerce and Shopify, solve technical issues, get help with Shopify Design, Apps integration, Marketing, Facebooks ad, Google ads and more.

Before posting, we invite you to read and follow the forum rules | We also support any questions related to Free Shopify themes :Dawn, Express, Minimal, Brooklyn, Narrative, Supply, Debut, Venture, Boundless and Simple