Hi there,
I was wondering if anyone had a solution for making the quick add button always visible on the collections product grid for the stiletto theme? Currently it only shows when hovering
Thanks
A user seeks to make the quick add button permanently visible on product grids in the Stiletto theme, rather than only appearing on hover.
Initial Solution:
Follow-up Customization:
Positioning Challenges:
Ongoing Issues:
Hi there,
I was wondering if anyone had a solution for making the quick add button always visible on the collections product grid for the stiletto theme? Currently it only shows when hovering
Thanks
Hi @SanghitaWW
Would you mind sharing your store URL? Thanks!
Hi!
The store URL is https://75ee98-52.myshopify.com/
Step 1. Go to Admin → Online store → Theme > Edit code
Step 2. Find the file theme.liquid.
Step 3. Add this code above
Thank you so much! This worked perfectly. I had another quick question on this, would you be bale to help me make the product title also visible on the hover? so that only the image changes
Thanks
Thank you!
@SanghitaWW , to always show product title please try this code
Thank you, this worked great!
@SanghitaWW , I see the title overlaps with the add to cart button when they appear together.
Try changing the previous code like this to avoid that
Result
I was struggling with this - as the product name was actually below the product image before - so I used the following code in the custom CSS section to try to move the product name onto the product image on both mobile and desktop it but I’m not sure it’s the best solution and it’s not super responsive to screen size.
The code:
.product-item__meta {
position: absolute !important;
top: 60% !important;
margin: 0 auto !important;
width: 100% !important;
}
.product-item__product-title {
font-size: 14px;
line-height: 1;
color: #ffffff;
}
@media (min-width: 480px) {
.product-item__meta {
position: absolute !important;
top: 68% !important;
margin: 0 auto !important;
width: 100% !important;
}
.product-item__product-title {
font-size: 20px;
line-height: 0.9;
color: #ffffff;
padding-left: 12px;
padding-right: 12px;
}
}
if you have a better solution I would love to see it. Thanks!
I don’t think you can use responsive design to reposition your title because it isn’t fixed in size. Instead, you can use this code before tag to move the product title above the ‘Add to Cart’ button.
and change the code you provide me like this
.product-item__product-title {
color: #ffffff;
}
No need to use responsive css
This worked like a charm - thank you so much for all your help on this! Been trying to figure it out for ages
Hey @BSSCommerce-B2B
I’ve run into a slight problem with this… The code works perfectly but when I press the button on my slideshow at the top of my collection page (which is linked as an anchor) it slides down to the product grid but it reloads the product grid and the product title has dropped below the button and is creating a massive gap between the rows… do you have any suggestions on how to fix this at all?
It also drops below the product card on the recommended product section on the product page - and I’m not quite sure why since it’s the same elements/code?