All things Shopify and commerce
Hello,
On desktop: I would like the product title and price to appear as text overlay on the product image on HOVER only. Right now it is sitting below the image. I want it hidden when no hover. I would like it to look like this on hover with the second image appearing as well:
On mobile: I would like the text to be overlayed on mobile like above with no hover.
I am using Exhibit theme
Website link: https://nuijewellery.com.au/
Please help!
Thank you
Solved! Go to the solution
This is an accepted solution.
You can add this code to your theme.liquid file, after <head> and check if it work
<style>
@media (min-width: 990px) {
li.relative.group .tile-content-wrapper div { margin: 0 10px; }
li.relative.group .tile-content-wrapper {
position: absolute;
bottom: 0px;
width: 100%;
padding: 4px 0;
display: inline-flex;
align-items: center;
flex-wrap: nowrap;
flex-direction: row;
justify-content: space-between;
opacity: 0;
background: rgb(255 255 255 / 60%);
}
li.relative.group:hover .tile-content-wrapper {
opacity: 1;
}
}
</style>
- Found this helpful? Hit "Like" and "Accept as Solution"! Support me: Donate!
- 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 - Gain customers with photo gallery, video & shoppable image
Built for Shopify
Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- En...Sign up now.
This is an accepted solution.
You can add this code to do that
{%- if template.name contains 'collection' -%}
<style>
li.relative.group .tile-content-wrapper { font-size: 12px; }
</style>
{%- endif -%}
- Found this helpful? Hit "Like" and "Accept as Solution"! Support me: Donate!
- 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 - Gain customers with photo gallery, video & shoppable image
Built for Shopify
Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- En...Sign up now.
This is an accepted solution.
You can add this code to your theme.liquid file, after <head> and check if it work
<style>
@media (min-width: 990px) {
li.relative.group .tile-content-wrapper div { margin: 0 10px; }
li.relative.group .tile-content-wrapper {
position: absolute;
bottom: 0px;
width: 100%;
padding: 4px 0;
display: inline-flex;
align-items: center;
flex-wrap: nowrap;
flex-direction: row;
justify-content: space-between;
opacity: 0;
background: rgb(255 255 255 / 60%);
}
li.relative.group:hover .tile-content-wrapper {
opacity: 1;
}
}
</style>
- Found this helpful? Hit "Like" and "Accept as Solution"! Support me: Donate!
- 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 - Gain customers with photo gallery, video & shoppable image
Built for Shopify
Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- En...Sign up now.
Thank you very much. This looks great and it worked! Do you know how I can make the font size smaller only on this page?
This is an accepted solution.
You can add this code to do that
{%- if template.name contains 'collection' -%}
<style>
li.relative.group .tile-content-wrapper { font-size: 12px; }
</style>
{%- endif -%}
- Found this helpful? Hit "Like" and "Accept as Solution"! Support me: Donate!
- 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 - Gain customers with photo gallery, video & shoppable image
Built for Shopify
Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- En...Sign up now.
Hey, @jewellerystore1 , add this CSS to your theme.liquid file:
.relative.group .tile-content-wrapper.mt-2 {
position: absolute;
bottom: 0px;
left: 50%;
transform: translateX(-50%);
display: none;
}
.relative.group:hover .tile-content-wrapper.mt-2 {
display:block;
}
The element containing your product name and price will appear like this when the product image is hovered. Let me know if you want to arrange them differently.
SIMICART: Mobile App Builder |Ironwork Theme - Coming Soon | Product Labels by BSS
Need help from our expert? Kindly share your request with us via community@bsscommerce.com
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025