Shopify themes, liquid, logos, and UX
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:
I want it to look like this:
Any help is greatly appreciated.
Store: streccent.com
Pass: yaifra
Theme: Prestige Theme
Solved! Go to the solution
This is an accepted solution.
Hi @Streccent
Try this one.
label.block-swatch {
border: none;
}
:checked+.block-swatch span, .block-swatch.is-selected span {
border-bottom: 2px solid black;
}
Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better!
This is an accepted solution.
Hi @Streccent
Try this one.
label.block-swatch {
border: none;
}
:checked+.block-swatch span, .block-swatch.is-selected span {
border-bottom: 2px solid black;
}
Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better!
Hi Made4uo-Ribe,
Thank you! That works perfectly.
Welcome! 😉
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;
}
Please let me know if it works. Thank you!
Best,
Daisy - Avada Support Team.
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.
Learn how to expand your operations internationally with Shopify Academy’s learning path...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025Expand into selling wholesale with Shopify Academy’s learning path, B2B on Shopify: Lau...
By Shopify Jan 28, 2025