Dawn Theme | Add border radius to size selector

Hi,

How I can add border radius to the dropdown size selector in the product page?

Site URL: ellsoll.com

1 Like

Hi @Ell_Soll

Try this one.

  • From your Shopify admin dashboard, click on “Online Store” and then “Themes”.
  • Find the theme that you want to edit and click on “Actions” and then “Edit code”.
  • In the “Assets” folder, click on “base.css, style.css or theme.css” file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
.field:after, .select:after, .customer .field:after, .customer select:after, .localization-form__select:after {
    border-radius: 5px;
}

Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!

I have put the code in the base.css and it’s not work.

Maybe other file?

1 Like

Re-edit it add important.

.field:after, .select:after, .customer .field:after, .customer select:after, .localization-form__select:after {
    border-radius: 5px !important;
}

And Save.

Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!

1 Like

Great!

I have put it in theme file.

anyway to remove the straight line border?

Which border, the thick one? Or border in the sizes?

The thick one.

1 Like

Yup check this one. Or paste it on the buttom where you add the previous code.

.select__select, .customer select:active {
    box-shadow: none !important;
}

And Save.

Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!

1 Like