Product Variants Horizontally

Solved

Product Variants Horizontally

coastalcoffee
Tourist
11 0 3

Hi,

How can I add my variant pickers side by side horizontally instead of stacked vertically?

https://www.coastalcoffeecollective.com/products/toro-canyon-espresso

Accepted Solution (1)

Michael-Thomas
Shopify Partner
86 16 22

This is an accepted solution.

Hey @coastalcoffee 

 

Try using this CSS by placing it it under them settings > custom CSS

 

 

div.product-info__block-item[data-block-type="variant-picker"] variant-picker.variant-picker {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
  gap: 1rem !important;
}

 

 

Hope that helps.

Found this helpful? Please Like & Mark as Solution — I truly appreciate it!
Connect with me | Get a Shopify Store with an Unlimited Free Trial – No Credit Card Needed! | ❤️ Support my work, If You’d Like!

View solution in original post

Replies 4 (4)

Michael-Thomas
Shopify Partner
86 16 22

This is an accepted solution.

Hey @coastalcoffee 

 

Try using this CSS by placing it it under them settings > custom CSS

 

 

div.product-info__block-item[data-block-type="variant-picker"] variant-picker.variant-picker {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
  gap: 1rem !important;
}

 

 

Hope that helps.

Found this helpful? Please Like & Mark as Solution — I truly appreciate it!
Connect with me | Get a Shopify Store with an Unlimited Free Trial – No Credit Card Needed! | ❤️ Support my work, If You’d Like!

coastalcoffee
Tourist
11 0 3

This worked at first & then I refreshed the page and it went right back! This is the closest I got to a solution tho!

Our website is coastalcoffeecollective.com

Michael-Thomas
Shopify Partner
86 16 22

Strange, it seems to show up just fine when I go to the site. Can you try in an incognito window? It could be your site is showing an older cache. 

Found this helpful? Please Like & Mark as Solution — I truly appreciate it!
Connect with me | Get a Shopify Store with an Unlimited Free Trial – No Credit Card Needed! | ❤️ Support my work, If You’d Like!

Easify-Jolie
Shopify Partner
274 9 26

Hi @coastalcoffee 

You can try Easify Product Options—it’s suitable for designing product options with flexible layouts and no coding required. It lets you display variant pickers side by side and customize them to fit your store’s design. Here's how it works:

  • This is the result:

EasifyJolie_0-1742200684510.png

  • This is the app setting:

EasifyJolie_1-1742200831682.png

 

To display your options horizontally, set each column width (%) to 50:

EasifyJolie_3-1742201007211.png

 

I hope this answer helps solve the problem. If you need further assistance, feel free to reach out to Easify anytime! 🤗

Easify Product Options: Any product options app can help you create custom options, but Easify turns those options into sales and conversions!
Easify Inventory Sync: Automate inventory syncing for Bundles, Duplicates, and Raw Materials. Say goodbye to manual tracking headaches.
Easify Product Attachments: Enrich your store with downloadable content. Easily add PDFs and other files to product or any page.
>>> Try Apps for Free | 24/7 Live Chat Support