Jump to content

How to add space between product variant options

Recommended Posts

Site URL: https://reindeer-blenny-m5mk.squarespace.com/store/p/apple-macbook-pro-13-m1-soc-256gb-ssd-macos-space-grey-laptop

Hi all,

I'm trying to add some padding to these blocks in the image attached. But I'm having trouble finding the right code.

My code is below. It would be great if someone can help.

Password to test site is: password123

.product-variants {
  display: flex !important;

.variant-option-title {
    font-size: 16px;
    padding-top: 0px !important;

.variant-select-wrapper {
    font-size: 12px

.quantity-label {
    font-size: 16px

.ProductItem-details .product-quantity-input input {
    font-size: 12px

.product-details .variant-select-wrapper::after {
    position: absolute;
    top: 28px;
    right: 1rem;
    transform: rotate(
    border-bottom: 1px solid;
    border-right: 1px solid;
    height: 0.5rem;
    width: 0.5rem;
    transform-origin: center top;
    pointer-events: none;
    font-size: 0.5rem !important;

.ProductItem-details .variant-select-wrapper select {
    border: 0.5px solid grey;
    border-radius: 3px;

.ProductItem-details .variant-option select, .ProductItem-details .product-quantity-input input {
    appearance: auto
    border: 0.5px;
    border-radius: 6px;
    padding: 20px;
    float: left;
    margin-bottom: 64px;


Screenshot 2021-10-19 at 09.04.41.png

Link to comment
  • 1 month later...

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.