Just getting started with Squarespace CSS? Awesome! ๐ I want to teach you the basics โ grab my free Getting Started Guide here ๐ https://insidethesquare.co/learn
โ
๐ฅณ Ready to launch ? Use the code PARTNER10 for 10% off (affiliate code): https://insidethesquare.co/partner10
โ
This tutorial is specific for Squarespace version 7.1 and wont work in older versions of Squarespace.
โ
In this tutorial, weโll use custom css to change the look of the mobile product page in Squarespace 7.1
In the codes from this tutorial, we use a mobile breakpoint of 640px. If you want to see these changes on a different screen size, just adjust the number 640 to the pixel width you want to apply the codes to. Pro tip โ 950px is the breakpoint for your mobile menu in Squarespace 7.1
Second pro tip: if you use more than one code for mobile, put them in the same media query bracket so the browser can process it faster!
//โCenter all text on mobile
@media only screen and (max-width: 640px){
.product-details *, .ProductItem-additional *{text-align:Center!important}}
//โ Make quantity full width, similar to the add to cart button
@media only screen and (max-width: 640px){
.product-details .variant-option select, .product-details .product-quantity-input input
{padding:.2rem!important; text-align:center; width: 100%}}
//โ Change the color & style of the slide indicator
@media only screen and (max-width: 640px){
{.ProductItem .ProductItem-gallery-current-slide-indicator{background:red; padding: .5rem; border-radius:50%}}
//โDo All The Things
@media only screen and (max-width: 640px){
.product-details *, .ProductItem-additional *{text-align:Center!important}
.product-details .variant-option select, .product-details .product-quantity-input input
{padding:.2rem!important; text-align:center; width: 100%}
.ProductItem .ProductItem-gallery-current-slide-indicator{background:red; padding: .5rem; border-radius:50%}}
โ
๐คฉ Ready for more codes? The codes in this tutorial are just the beginning of all the cool things you can do with Custom CSS! When youโre ready to dive in and start customizing, you can use codes from my CSS Cheat Sheet. It has over 30 pages of code snippets and pro tips to help you get started. Download your copy ๐ https://InsideTheSquare.co/css
โ
๐ฅณ Ready to launch ? Use the code PARTNER10 for 10% off (affiliate code): https://insidethesquare.co/partner10 โค๏ธ
โ
๐ Need some help? Visit โhttps://insidethesquare.co/code-helpโ to see my current support options.
โ
The term โSquarespaceโ is a trademark of Squarespace, Inc. This content is not affiliated with Squarespace, Inc. I just really love their platform โฅ
โ
#squarespace #squarespacecss #howto #customizesquarespace #css #squarespacetricks #squarespacehacks #squarespacetips