Customizing Shopify Variant Dropdowns: Sharp Corners, Smaller Text, and No More Grey Hover!

Hey there, fellow store owners! It's funny how sometimes the smallest design details can make the biggest difference, isn't it? Recently, I was browsing through the Shopify Community forums – always a goldmine of insights – and stumbled upon a really common customization challenge. Our friend veluxe1 kicked off a great discussion asking for help with something many of us have probably thought about: how to give those product variant dropdowns a sharper, more refined look, and maybe even tweak the font size inside them. The conversation even touched on how to get rid of that pesky grey hover/overlay effect. Let's dive into what the experts and fellow merchants shared!

Achieving Sharp Corners and Smaller Fonts

The beauty of Shopify's flexibility often comes down to a bit of Custom CSS. Community members like ajaycodewiz, Weaverse, GencerKarakaya, and oscprofessional jumped in with incredibly helpful code snippets. The key, as they pointed out, is identifying the right CSS selectors for your specific theme.

For themes like Horizon (which veluxe1 was identified as using), or many other OS 2.0 themes like Dawn, here's a general approach:

.variant-option__select-wrapper {
  border-radius: 0;
}
.variant-option__select {
  font-size: 12px; /* Adjust as needed */
}

This snippet sets border-radius to 0 for crisp, sharp corners and font-size to 12px for smaller text. ajaycodewiz even shared fantastic before and after images, really showing the visual impact:

Before - rounded corners, larger text

After - sharp corners, 12px text

Broader Compatibility: Dawn and OS 2.0 Themes

If you're on Dawn or another OS 2.0 theme, the selectors might differ slightly. Weaverse, Steve_TopNewYork, and oscprofessional provided robust alternatives:

/* Target Variant Dropdown Select Inputs */
.product-form__input .select__select,
select.select__select,
.variant-radios select,
.variant-select select {
  border-radius: 0px !important;
  font-size: 13px !important;
  padding-top: 8px !important;
  padding-bottom: 8px !important;
  min-height: 42px !important;
}

/* Target Options Inside the Dropdown List */
.product-form__input .select__select option {
  font-size: 13px !important;
}

The !important flags ensure these custom styles override existing theme definitions. Adjust padding and min-height as needed for appearance.

A Quick Check: Global Theme Settings

Before custom CSS, GencerKarakaya and Laza_Binaery wisely suggested checking Theme Settings > Input fields > Corner radius. Setting this to 0 will apply sharp corners to ALL form controls (search, quantity, variants, etc.) for a consistent look. Remember, this global setting won't change the font size, so you'll still need the custom CSS for that specific tweak.

Screenshot 2026-08-03 191347

Eliminating the Grey Hover/Overlay

Once the basic styling was in place, veluxe1 asked about removing a grey hover effect. ajaycodewiz and Laza_Binaery had the solution:

.variant-option__select-wrapper:hover .variant-option__select {
  background-color: var(--color-variant-background); /* Or transparent */
}
/* Optional: to stop darkening the border on hover */
.variant-option__select-wrapper:hover {
  border-color: var(--color-variant-border);
}

This ensures the dropdown maintains its normal background and border colors on hover, preventing any unwanted grey flashes. Using var(--color-variant-background) is smart for theme consistency.

Where to Add Your Custom CSS

Here's how to implement these changes safely:

Method 1: Direct in Theme Editor (Recommended)

  1. Go to Online Store > Themes > Customize.
  2. Select the Default Product page template from the top dropdown.
  3. Click Product Information on the left sidebar.
  4. Scroll to the Custom CSS box on the right panel.
  5. Paste your CSS code snippets and click Save.

Product information section - Custom CSS field

Method 2: In base.css or theme.css (Advanced)

Always duplicate your theme before making direct code edits!

  1. Go to Online Store > Themes > Actions > Edit Code.
  2. Find base.css or theme.css under the Assets folder.
  3. Scroll to the bottom and paste your CSS code.
  4. Click Save.

If these snippets don't work perfectly, remember that exact CSS selectors can vary between themes. Use your browser's developer tools (F12) to "Inspect Element" and find the precise class names your theme uses. Sharing your store's URL (and password if protected) in community forums is also the fastest way to get tailored help.

Customizing your Shopify store, down to details like variant dropdowns, truly elevates the user experience and reinforces your brand's unique style. It's a fantastic way to make your store stand out and create a seamless shopping journey for your customers. If you're looking to refine your current store or start a new e-commerce venture, remember that Shopify's powerful platform, coupled with its incredible community, makes such detailed customization very achievable. Happy customizing!

Share:

Use cases

Explore use cases

Agencies, store owners, enterprise — find the migration path that fits.

Explore use cases