Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hi,
I would like to display the variant title below the variant image in product page.
Can anyone help?
Link
https://waycaps.com/?_ab=0&_fd=0&_sc=1&preview_theme_id=123404255296
Solved! Go to the solution
This is an accepted solution.
Go to your Online store > Themes > Edit code > open theme.liquid, add this below code after <head> element
<style>
.variants-container .swatch label:not(.color) {
min-width: 89px;
min-height: 70px;
}
.variants-container .swatch .varian-images-c {
width: 55px!important;
}
.variants-container .swatch .swatch-element {
margin: 0 12px 15px 0;
}
.variants-container .swatch .tooltip {
opacity: 1;
visibility: visible;
left: 0 !important;
bottom: -23px !important;
width: 89px !important;
padding: 0px !important;
background: transparent !important;
color: #000 !important;
box-shadow: unset !important;
}
.variants-container .swatch .tooltip:after {
display: none !important;
}
</style>
- Helpful? Like and Accept solution!
- 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.
This is an accepted solution.
Go to your Online store > Themes > Edit code > open theme.liquid, add this below code after <head> element
<style>
.variants-container .swatch label:not(.color) {
min-width: 89px;
min-height: 70px;
}
.variants-container .swatch .varian-images-c {
width: 55px!important;
}
.variants-container .swatch .swatch-element {
margin: 0 12px 15px 0;
}
.variants-container .swatch .tooltip {
opacity: 1;
visibility: visible;
left: 0 !important;
bottom: -23px !important;
width: 89px !important;
padding: 0px !important;
background: transparent !important;
color: #000 !important;
box-shadow: unset !important;
}
.variants-container .swatch .tooltip:after {
display: none !important;
}
</style>
- Helpful? Like and Accept solution!
- 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.
That worked like a magic !!!
Thank you so much!
- Helpful? Like and Accept solution!
- 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.
By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024