Jump to content

Site full width only on product page

Recommended Posts

Site URL: https://elmirasolo.com

Hello there,

I have been having trouble customizing the product detail page.

I want the carousel go all the way to the edge of the screen (without padding) in desktop view. And go to both edges in the mobile view like this:

image.thumb.png.49eb72f3a052b237d88877cb75a0b1fd.png

image.png.faf0f9b55e2a95610d74af4bf6e2352f.png

 

While having the rest of my website have the padding on both sides like this

image.thumb.png.859f984079c2783cd6dceeade88f1fbb.png

when I adjust the side padding slider it adjusts it for the whole site.

Is there a way to adjust it only for the product detail page?

https://elmirasolo.com  password -  letmein

7.0 Brine, Sonora

 

Thank you for any help that can be provided.

Link to comment
  • Replies 3
  • Views 253
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

On 4/4/2022 at 3:20 AM, tuanphan said:

Desktop: you mean remove left/bottom padding of product images/thumbnails?

Mobile: remove left/right padding?

Sorry, here is further clarification

Mobile: remove left/right padding for the product image review

Desktop: remove left padding for the product image review

Link to comment
On 4/6/2022 at 12:55 AM, Sarah__ said:

Sorry, here is further clarification

Mobile: remove left/right padding for the product image review

Desktop: remove left padding for the product image review

Add to Design > Custom CSS

body.collection-type-products.view-item .Main-content {
    padding-left: 0;
}
@media screen and (max-width:640px) {
body.collection-type-products.view-item .Main-content {
    padding-right: 0;
}
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.