How do I remove the border around the variant picker on product page?

How do I remove the border around the variant picker on product page?

PM98
Excursionist
46 0 7

How do I remove the border around the variant picker on product page? (Dawn Theme)

 

Screenshot 2024-05-19 at 12.54.15.png

Replies 4 (4)

BSSCommerce-HDL
Shopify Partner
2305 835 908

Hi @PM98

You can try this code by following these steps:

Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code

BSSTechVenture_1-1716120829315.png

 

Step 2: Search file base.css,  theme.css or styles.css 

BSSTechVenture_2-1716120837125.png

 

Step 3: Insert the below code at the bottom of the file -> Save

 

variant-selects .select:after {
  box-shadow: none !important;
}

variant-selects .select:hover:after {
  box-shadow: none !important;
}

 

Here is result: 

BSSTechVenture_0-1716120717234.png

Hope this can help you,

If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you 😍

Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

PM98
Excursionist
46 0 7

That works, however when I select the variant picker the border comes back.

BSSCommerce-HDL
Shopify Partner
2305 835 908

Hi @PM98, Pls insert this code to your file css: 

variant-selects .select__select:focus {
   box-shadow: none !important;
}

Hope this can help you,

If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you 😍

Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

devcoders
Shopify Partner
1112 134 315

Hi @PM98 

Go to Online Store, then Theme, and click on Edit code.
Locate the file assets/base.css, and paste the code provided below at the end of the file.

 

.product-form__input.product-form__input--dropdown ::after {
box-shadow: none!important;.field:
after, .select:after, .customer .field:after, .customer select:after, .localization-form__select:after;
}

devcoders_0-1716121000239.png

 

 

Shopify Developer: Helping eCommerce Stores
If you need assistance with your store, feel free to contact us at devcodersp@gmail.com
WhatsApp No: +91 8516919310 If my assistance was helpful, please consider liking and accepting the solution. Thank you!