# Dropdown Button for Variants

**URL:** <https://community.shopify.com/t/dropdown-button-for-variants/660283>\
**Category:** Store Design\
**Tags:** design, css\
**Created:** [August 3, 2026, 5:00pm UTC](https://community.shopify.com/t/dropdown-button-for-variants/660283 "2026-08-03T17:00:22Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![veluxe1](https://avatars.discourse-cdn.com/v4/letter/v/ecd19e/32.png) [@veluxe1](https://community.shopify.com/u/veluxe1)\
**Post date:** [August 3, 2026, 5:00pm UTC](https://community.shopify.com/t/dropdown-button-for-variants/660283/1 "2026-08-03T17:00:22Z")

</div>

Hi, can anyone help me how to change the border/corner radius for dropdown button in product variants. And also how to change font size in the dropdown. I have tried few css but cant find/target a correct element. Below is current dropdown

I want the border - sharp rectangle and smaller font size for input fields inside

 ![Screenshot (42)](https://canada1.discourse-cdn.com/shopifyforum/original/4X/d/5/0/d5093ecc1ee8aa03d1e6b62b676e20868de30bad.png)

---

<div class="post-metadata">

**Author:** ![devcoders](https://yyz1.discourse-cdn.com/shopifyforum/user_avatar/community.shopify.com/devcoders/32/403479_2.png) [@devcoders](https://community.shopify.com/u/devcoders)\
**Post date:** [August 3, 2026, 5:13pm UTC](https://community.shopify.com/t/dropdown-button-for-variants/660283/2 "2026-08-03T17:13:03Z")

</div>

Hi @veluxe1

Welcome to the Shopify Community! Please share your store URL and password (if it’s password-protected), so I can check and provide you with the exact solution.

**Best regards,**  
**Devcoder 💻**

---

<div class="post-metadata">

**Author:** ![Moeed](https://yyz1.discourse-cdn.com/shopifyforum/user_avatar/community.shopify.com/moeed/32/407464_2.png) [@Moeed](https://community.shopify.com/u/Moeed)\
**Post date:** [August 3, 2026, 5:20pm UTC](https://community.shopify.com/t/dropdown-button-for-variants/660283/3 "2026-08-03T17:20:01Z")

</div>

Hey @veluxe1

The site which you’re referring to [– Cityofclothing](https://cityofclothingmy.myshopify.com/password) is password protected, can you disable the password or share it so we can provide you the accurate code?

Best,  
Moeed

---

<div class="post-metadata">

**Author:** ![Laza\_Binaery](https://yyz1.discourse-cdn.com/shopifyforum/user_avatar/community.shopify.com/laza_binaery/32/164745_2.png) [@Laza\_Binaery](https://community.shopify.com/u/Laza_Binaery)\
**Post date:** [August 3, 2026, 5:20pm UTC](https://community.shopify.com/t/dropdown-button-for-variants/660283/4 "2026-08-03T17:20:48Z")

</div>

Hi @veluxe1

First, you should check the theme settings for inputs, but that will make a global change. Which is good so all inputs are the same:

 ![Screenshot 2026-08-03 191347](https://canada1.discourse-cdn.com/shopifyforum/original/4X/5/e/7/5e716197f916c45530d9ab835802a883573adb91.png)

Then if you really just want to chanfe those variants use this code in Custom CSS setting

```auto
.variant-option__select {
  font-size: 12px;
}
.variant-option__select-wrapper {
  border-radius: 10px;
}

```

And adjust values.

 ![Screenshot 2026-08-03 191817](https://canada1.discourse-cdn.com/shopifyforum/original/4X/e/0/c/e0c1ceea1a0fb65096e4557fa44d5193765cd130.jpeg)

---

<div class="post-metadata">

**Author:** ![NerdCurator](https://yyz1.discourse-cdn.com/shopifyforum/user_avatar/community.shopify.com/nerdcurator/32/222747_2.png) [@NerdCurator](https://community.shopify.com/u/NerdCurator)\
**Post date:** [August 3, 2026, 7:22pm UTC](https://community.shopify.com/t/dropdown-button-for-variants/660283/5 "2026-08-03T19:22:11Z")

</div>

Hello @veluxe1 Thanks for reaching out to Shopify community with your concern. Can you please provide the URL of your store and if it is password protected please share the password too. Thanks

---

<div class="post-metadata">

**Author:** ![Ploqo](https://yyz1.discourse-cdn.com/shopifyforum/user_avatar/community.shopify.com/ploqo/32/398219_2.png) [@Ploqo](https://community.shopify.com/u/Ploqo)\
**Post date:** [August 4, 2026, 3:59am UTC](https://community.shopify.com/t/dropdown-button-for-variants/660283/6 "2026-08-04T03:59:43Z")

</div>

I built the following fix on a Horizon store:

**Before**

 ![Before - rounded corners, larger text](https://canada1.discourse-cdn.com/shopifyforum/original/4X/e/4/a/e4a1f9467e13849df631c79720a835b869294014.png)

**After**

 ![After - sharp corners, 12px text](https://canada1.discourse-cdn.com/shopifyforum/original/4X/d/4/5/d4583259e30b839f9f19124ad7032c63d227b839.png)

The code:

```css
.variant-option__select-wrapper {
  border-radius: 0;
}
.variant-option__select {
  font-size: 12px;
}

```

`border-radius: 0` gives the sharp rectangle you want. `font-size: 12px` shrinks the text in the box. Both values are adjustable.

**Where to paste it**

- Online Store \> Themes \> **Customize**.
- On a product page, click the variant area to select the **Product information** section.
- Scroll the section settings to **Custom CSS** , paste both rules, **Save**.

 ![Product information section - Custom CSS field](https://canada1.discourse-cdn.com/shopifyforum/original/4X/0/7/b/07b2350b6dcc1ef3ea876a90eb040bae5346a1d3.jpeg)

**For sharp corners on every input, not just the variants**

- Set it once in **Theme settings \> Input fields \> Corner radius** and drop it to `0`. That squares the search, quantity, and form fields too.

- It has no font-size option though, so the smaller text still needs the CSS above.

---

<div class="post-metadata">

**Author:** ![rashid.div](https://avatars.discourse-cdn.com/v4/letter/r/4af34b/32.png) [@rashid.div](https://community.shopify.com/u/rashid.div)\
**Post date:** [August 4, 2026, 5:44am UTC](https://community.shopify.com/t/dropdown-button-for-variants/660283/7 "2026-08-04T05:44:44Z")

</div>

Hello @veluxe1 Thanks for reaching out to Shopify community with your concern. Can you please provide the URL of your store and if it is password protected please share the password too. Thanks this is not a big deal for me i am waiting for your response .

---

<div class="post-metadata">

**Author:** ![oscprofessional](https://yyz1.discourse-cdn.com/shopifyforum/user_avatar/community.shopify.com/oscprofessional/32/367832_2.png) [@oscprofessional](https://community.shopify.com/u/oscprofessional)\
**Post date:** [August 4, 2026, 6:22am UTC](https://community.shopify.com/t/dropdown-button-for-variants/660283/8 "2026-08-04T06:22:32Z")

</div>

Hi @veluxe1 ,  
If you’re using a Shopify OS 2.0 theme (like Dawn), the variant dropdown is usually a native `<select>` element.

You can target it with CSS like this:

```auto

.product-form__input select,
.select__select {
  border-radius: 0 !important;  
  font-size: 14px !important;   
  border: 1px solid #000;
  padding: 10px 12px;
}

.select::after {
  border-radius: 0;
}

```

If that doesn’t work, inspect the dropdown in your browser (F12) because some themes use different class names. You may need to target something like:

```auto
.product-form select {
  border-radius: 0 !important;
  font-size: 14px !important;
}

```

---

<div class="post-metadata">

**Author:** ![ZestardTech](https://yyz1.discourse-cdn.com/shopifyforum/user_avatar/community.shopify.com/zestardtech/32/199590_2.png) [@ZestardTech](https://community.shopify.com/u/ZestardTech)\
**Post date:** [August 4, 2026, 8:43am UTC](https://community.shopify.com/t/dropdown-button-for-variants/660283/10 "2026-08-04T08:43:53Z")

</div>

Hello @veluxe1

Could you please provide the URL/ password to your store so that I can check it and provide you with the exact solution?

---

<div class="post-metadata">

**Author:** ![GencerKarakaya](https://yyz1.discourse-cdn.com/shopifyforum/user_avatar/community.shopify.com/gencerkarakaya/32/410168_2.png) [@GencerKarakaya](https://community.shopify.com/u/GencerKarakaya)\
**Post date:** [August 4, 2026, 9:12am UTC](https://community.shopify.com/t/dropdown-button-for-variants/660283/11 "2026-08-04T09:12:02Z")

</div>

Hello @veluxe1

From the screenshots, it looks like you’re using the **Horizon** theme, so targeting `.variant-option__select` is the right approach.

If your goal is **square corners** and a **smaller font size** , this CSS is sufficient:

```auto
.variant-option__select-wrapper {
  border-radius: 0;
}

.variant-option__select {
  font-size: 12px;
}

```

A small tip though: before adding custom CSS, check **Theme Settings → Input fields → Corner radius**.

If you set the global corner radius to `0`, all form controls (search, quantity, inputs, etc.) will become square automatically. In that case, you only need custom CSS for the font size if you want the variant selector to use a smaller font.

If you’re planning to support multiple themes (Dawn, Horizon, Prestige, etc.), avoid relying on Horizon-specific class names. Instead, inspect the rendered markup in your theme and target the theme’s own variant picker classes, as these selectors can differ between themes.

If you can share your store URL (or a preview link), I can suggest the most appropriate selector for your specific theme.

---

<div class="post-metadata">

**Author:** ![Weaverse](https://yyz1.discourse-cdn.com/shopifyforum/user_avatar/community.shopify.com/weaverse/32/243225_2.png) [@Weaverse](https://community.shopify.com/u/Weaverse)\
**Post date:** [August 4, 2026, 9:21am UTC](https://community.shopify.com/t/dropdown-button-for-variants/660283/12 "2026-08-04T09:21:05Z")

</div>

Hi **@veluxe1** ,

In Shopify Dawn and most Official OS 2.0 themes, the variant dropdown selector uses a custom `<select>` class (`.select __select` / `.product-form__ input select`).

Here is the exact CSS snippet to make the dropdown borders sharp rectangles (`border-radius: 0`) and reduce the font size:

```css
/* Target Variant Dropdown Select Inputs */
.product-form __input .select__ select,
select.select__select,
.variant-radios select {
  border-radius: 0px !important; /* Sharp rectangular corners */
  font-size: 13px !important; /* Smaller font size inside dropdown */
  padding-top: 8px !important;
  padding-bottom: 8px !important;
  min-height: 42px !important; /* Adjust height if needed */
}

/* Target Options Inside the Dropdown List */
.product-form __input .select__ select option {
  font-size: 13px !important;
}

```

## **Where to paste this code:**

**Method 1: Direct in Theme Editor (Recommended & Safe)**

1. Go to **Online Store \> Themes \> Customize**.
2. Open the **Default Product** page template from the top dropdown menu.
3. Click on **Product Information** (or Theme Settings) on the left sidebar.
4. Scroll down to **Custom CSS** on the right panel.
5. Paste the code snippet above and click **Save**.

**Method 2: In `base.css` File**

1. Go to **Online Store \> Themes \> Edit Code**.
2. Search for `base.css` (or `theme.css`) under the **Assets** folder.
3. Scroll to the very bottom of the file and paste the CSS code.
4. Click **Save**.

You can adjust `13px` to your preferred font size (e.g., `12px` or `14px`). Let me know if that targets your specific theme dropdown cleanly!

If you found my reply helpful, feel free to mark it as the accepted solution so it can help other merchants following this discussion.

Thank You !

---

<div class="post-metadata">

**Author:** ![veluxe1](https://avatars.discourse-cdn.com/v4/letter/v/ecd19e/32.png) [@veluxe1](https://community.shopify.com/u/veluxe1)\
**Post date:** [August 4, 2026, 9:52am UTC](https://community.shopify.com/t/dropdown-button-for-variants/660283/13 "2026-08-04T09:52:06Z")

</div>

Great it works! Can you help me one more thing, how to remove/disable grey hover/overlay when we click that dropdown/variants?

---

<div class="post-metadata">

**Author:** ![veluxe1](https://avatars.discourse-cdn.com/v4/letter/v/ecd19e/32.png) [@veluxe1](https://community.shopify.com/u/veluxe1)\
**Post date:** [August 4, 2026, 9:52am UTC](https://community.shopify.com/t/dropdown-button-for-variants/660283/14 "2026-08-04T09:52:43Z")

</div>

Great it works! One more thing, how to remove/disable grey hover/overlay when we click that dropdown/variants?

---

<div class="post-metadata">

**Author:** ![Laza\_Binaery](https://yyz1.discourse-cdn.com/shopifyforum/user_avatar/community.shopify.com/laza_binaery/32/164745_2.png) [@Laza\_Binaery](https://community.shopify.com/u/Laza_Binaery)\
**Post date:** [August 4, 2026, 10:32am UTC](https://community.shopify.com/t/dropdown-button-for-variants/660283/15 "2026-08-04T10:32:57Z")

</div>

Well, you can set color to transparent. In same Custom CSS setting or any color you want

```auto
.variant-option __select-wrapper:hover .variant-option__ select {
    background-color: transparent;
}

```

---

<div class="post-metadata">

**Author:** ![Ploqo](https://yyz1.discourse-cdn.com/shopifyforum/user_avatar/community.shopify.com/ploqo/32/398219_2.png) [@Ploqo](https://community.shopify.com/u/Ploqo)\
**Post date:** [August 4, 2026, 11:40am UTC](https://community.shopify.com/t/dropdown-button-for-variants/660283/16 "2026-08-04T11:40:59Z")

</div>

Add this in the same Custom CSS box you used before (Product information section):

```css
.variant-option __select-wrapper:hover .variant-option__ select {
  background-color: var(--color-variant-background);
}

```

 ![Horizon variant dropdown before and after removing the grey hover](https://canada1.discourse-cdn.com/shopifyforum/original/4X/3/7/6/37604f04607b594e4cff7f22205d5d1d2281d8f6.png)

- This holds the dropdown at your theme’s normal colour on hover and on click, so there is no grey flash.
- Optional: to stop darkening the border on hover:

```css
.variant-option__select-wrapper:hover {
  border-color: var(--color-variant-border);
}

```

- `transparent` works too, but `--color-variant-background` keeps it matched to your theme if you ever change your colours.

Tested on Horizon.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/shopifyforum/original/4X/7/b/b/7bbfe07c91e3f502d9c876612b0b445245662ef9.png) [@system](https://community.shopify.com/u/system)\
**Post date:** [August 9, 2026, 4:04pm UTC](https://community.shopify.com/t/dropdown-button-for-variants/660283/17 "2026-08-09T16:04:56Z")

</div>

Closed on August 9, 2026, 4:04pm UTC

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.
