Re: Changing Variant Picker Style - Prestige Theme

Solved

Changing Variant Picker Style - Prestige Theme

Streccent
Excursionist
18 0 3

Hi,

 

I want to change the style of my variant picker on the product page. I am using Prestige Theme. I want to get the variant picker from Showcase theme.

 

Currently it looks like this:

Screenshot 2025-01-09 at 21.57.14.png

 

I want it to look like this:

Screenshot 2025-01-09 at 21.57.03.png

 

Any help is greatly appreciated.

 

Store: streccent.com

Pass: yaifra

Theme: Prestige Theme

Accepted Solution (1)

Made4uo-Ribe
Shopify Partner
9579 2279 2828

This is an accepted solution.

Hi @Streccent 

Try this one. 

  1. From your Shopify admin dashboard, click on "Online Store" and then "Themes".
  2. Find the theme that you want to edit and click on "Actions" and then "Edit code".
  3. 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:

 

label.block-swatch {
    border: none;
}

:checked+.block-swatch  span, .block-swatch.is-selected span {
   border-bottom: 2px solid black;
}

 

  • And Save.
  • Result:
  • Made4uoRibe_0-1736461655874.png

     

Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better! 

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.

View solution in original post

Replies 5 (5)

Made4uo-Ribe
Shopify Partner
9579 2279 2828

This is an accepted solution.

Hi @Streccent 

Try this one. 

  1. From your Shopify admin dashboard, click on "Online Store" and then "Themes".
  2. Find the theme that you want to edit and click on "Actions" and then "Edit code".
  3. 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:

 

label.block-swatch {
    border: none;
}

:checked+.block-swatch  span, .block-swatch.is-selected span {
   border-bottom: 2px solid black;
}

 

  • And Save.
  • Result:
  • Made4uoRibe_0-1736461655874.png

     

Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better! 

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.
Streccent
Excursionist
18 0 3

Hi Made4uo-Ribe,

 

Thank you! That works perfectly.

Made4uo-Ribe
Shopify Partner
9579 2279 2828

Welcome! 😉

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.

DaisyVo
Shopify Partner
2380 300 343

Hi @Streccent 

 

I hope you are well. You can follow our instructions below:


1/ Shopify admin > Online store > Customize: https://prnt.sc/XQ6IDB99kUCd
2/ From the left menu > Theme settings > Open Custom CSS: https://prnt.sc/iDxwa8zBQ4Z-
3/ Copy the code below and paste it there

 

Here is the code for Step 3:

 

label.block-swatch {
    border: none !important;
}
:checked+.block-swatch, .block-swatch.is-selected {
    text-decoration: underline !important;
    text-underline-offset: 6px;
}

 

image (56).png


Please let me know if it works. Thank you!

 

Best,
Daisy - Avada Support Team.

Please let us know if our reply is helpful by giving it a Like or marking it as a Solution!

Avada SEO & Image Optimizer - The #1 SEO solution

Dan-From-Ryviu
Shopify Partner
10749 2126 2245

Hi @Streccent 

Please go to your store admin > Sales Channels > Online Store > Themes > click "..." in current theme > Edit code > open theme.liquid file, below <head> tag, add this code and save file 

<style>
.product .variant-picker .block-swatch { border: unset; }
.product .variant-picker :checked+.block-swatch span, 
.product .variant-picker .block-swatch.is-selected span { border-bottom: 2px solid #000; }
</style>

- Solved it? Hit Like and Accept solution! ❤️Buy Me Coffee❤️
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.