Jump to content

Centering Product Category Mobile View

Recommended Posts

Hi @kaydotjpg, try adding this to the Custom CSS on your website:

@media screen and (max-width: 768px)
.products.collection-content-wrapper .nested-category-children {
    justify-content: center;
}

Hope that helps!

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
🔌
 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 Did I help? Buy me a coffee?

Link to comment

Try this there was a missing set of brackets, but the error was because the .product..... should have been on the same line as the @media query.

@media screen and (max-width: 768px) {
.products.collection-content-wrapper .nested-category-children {
    justify-content: center;
 }
}

 

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
🔌
 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 Did I help? Buy me a coffee?

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.