Jump to content

Center a Single Product

Recommended Posts

Posted

Please set up a site-wide password.

Post the password here.

Adding a site-wide password is not a security breach. Please read the documentation at the link provided to understand how it works.

We can then take a look at your issue.

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

Posted (edited)

You could go with one giant product.

1794177564_ScreenShot2021-04-20at3_50_34PM.thumb.png.99a3692d9ab7479da2829ed6c51595a5.png

 

<style>

  @media screen and ( min-width : 768px) {
  
    .products.collection-content-wrapper .list-grid {
    
      grid-template-columns : 1fr ;
      
      }
    }
    
  </style>

Or you can keep the size it is and center it.

120485879_ScreenShot2021-04-20at4_44_48PM.thumb.png.eb03fbd06ab7f848250a8957ea803847.png

 

<style>

  .products.collection-content-wrapper .grid-item {
  
    grid-column: 2 / 3;
    
    }
    
  </style>

Add one of the code to Store Settings > Advanced > Page Header Code Injection for the store page.

This is for v7.1.

Let us know how it goes.

Edited by creedon
version 2

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

Posted

I do have another issue I'm running into. 

On the product details page - I am unable to turn on the hover zoom feature. I've selected the paintbrush in the top right, gone to products, selected "hover action:zoom" but doesn't zoom in on the image when I hover. I've also tried the click action zoom and that rarely works as well. 

Any solves here?

 

https://silver-hyperboloid-kt5p.squarespace.com/config/settings/advanced 

Posted

No joy on the zoom. Oddly it seemed to work just fine on my test site. I have 3 thumbs displayed. The first two I clicked and hover/zoomed away no problem.

The third one would not zoom for about a minute of testing and digging into the code. Then started zooming all of a sudden.

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

  • 3 weeks later...
Posted

Hey! I'm hoping to add different sku images for different variants. So I have one shirt in 3 sizes. I'd like use an image of each size for my fulfillment center. When I add them to different variants though, it shows that image publicly on the product image. 

Is there a way to have a photo for each sku that doesn't show up publicly but can be referenced for shipping/fulfillment? 

  • 3 months later...
Posted
On 4/20/2021 at 6:52 PM, creedon said:

You could go with one giant product.

1794177564_ScreenShot2021-04-20at3_50_34PM.thumb.png.99a3692d9ab7479da2829ed6c51595a5.png

 

<style>

  @media screen and ( min-width : 768px) {
  
    .products.collection-content-wrapper .list-grid {
    
      grid-template-columns : 1fr ;
      
      }
    }
    
  </style>

Or you can keep the size it is and center it.

120485879_ScreenShot2021-04-20at4_44_48PM.thumb.png.eb03fbd06ab7f848250a8957ea803847.png

 

<style>

  .products-list [data-item-id="6074dd06f9ef2673cf0d443f"] {
  
    grid-column: 2 / 3;
    
    }
    
  </style>

Add one of the code to Store Settings > Advanced > Page Header Code Injection for the store page.

This is for v7.1.

Let us know how it goes.

Hi, do you have this same code for 7.0?

Posted

@cfrost

Please post the URL for the a product on your site.

If your site is not public please set up a site-wide password, if you've not already done so.

Post the password here.

Adding a site-wide password is not a security breach. Please read the documentation at the link provided to understand how it works.

We can then take a look at your issue.

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

  • 2 years later...
Posted
On 4/20/2021 at 7:52 PM, creedon said:

You could go with one giant product.

1794177564_ScreenShot2021-04-20at3_50_34PM.thumb.png.99a3692d9ab7479da2829ed6c51595a5.png

 

<style>

  @media screen and ( min-width : 768px) {
  
    .products.collection-content-wrapper .list-grid {
    
      grid-template-columns : 1fr ;
      
      }
    }
    
  </style>

Or you can keep the size it is and center it.

120485879_ScreenShot2021-04-20at4_44_48PM.thumb.png.eb03fbd06ab7f848250a8957ea803847.png

 

<style>

  .products-list [data-item-id="6074dd06f9ef2673cf0d443f"] {
  
    grid-column: 2 / 3;
    
    }
    
  </style>

Add one of the code to Store Settings > Advanced > Page Header Code Injection for the store page.

This is for v7.1.

Let us know how it goes.

The first code seems to work fine but not the second one.

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.