Jump to content

Editing images and text on product page

Recommended Posts

Hi coders

My product page is split 50/50 with images on the left and text on the right:

https://www.object750.com/shop/p/smiley-pendant-custom-initials

Web Text:
- I would like the text on the right to be fixed on the page
- Text to be centered vertically and horizontally

Web Images: 
- Decrease the gap between the scrolling images to 1px
- Remove the big gap between the last image and the footer (so the last image sits right up to the footer) 

Mobile:
- See image attached

Images attached for reference. 

Thank you!

Before.png

After.png

footer gap.png

Mobile Before.png

Mobile After.png

Edited by Rawan
text
Link to comment
  • Replies 5
  • Views 1.3k
  • Created
  • Last Reply

Top Posters In This Topic

With web text, try this code to Website > Website Tools > Custom CSS
 

@media screen and (min-width:768px) {
section.product-details.ProductItem-details {
    padding-top: 0px !important;
    height: 100vh !important;
    justify-content: center;
}
}

 

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
On 3/19/2024 at 9:18 AM, tuanphan said:

With web text, try this code to Website > Website Tools > Custom CSS
 

@media screen and (min-width:768px) {
section.product-details.ProductItem-details {
    padding-top: 0px !important;
    height: 100vh !important;
    justify-content: center;
}
}

 

Thank you again Tuan

Link to comment
On 3/26/2024 at 7:55 AM, tuanphan said:

To change add to cart, quantity position, use this CSS code

@media screen and (max-width:767px) {
div.ProductItem-details-excerpt {
    order: 1 !important;
}
}

image.png.577b4893eb947abc3b1c6342f70fc743.png

Thanks Tuan!

There's an annoying white margin to the right of the page in mobile view - how do I get rid of that?

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.