Eartha
November 24, 2022, 11:34am
1
I would like to remove the title and price from all products within the product grid on my homepage and collection pages.
I would also like to make the product title to appear on mouse rollover. I’ve tried alot of different code but I’m unable to make it work. I’m using Broadcast Theme.
@Eartha
Hello,
Can You Please Share Your Store URL I Will Check and Provide a Proper Solution
Thanks
Eartha
November 24, 2022, 11:39am
3
Ujjaval
November 24, 2022, 11:52am
4
@Eartha
Only upload product image of collection in home page and give the link to redirect it to the particular product .
Eartha
November 24, 2022, 12:14pm
5
That doesn’t allow me to show the product title on mouse rollover though?
Hello @Eartha ,
Please add this CSS below of online store >> Edit code >> Assets >> theme.css
@media only screen and (min-width: 767px)
.product-grid .product-information {
display: none;
position: absolute;
bottom: 10px;
width: 100%;
}
.product-item:hover .product-information {
display: block !important;
}
}
@Eartha
Hello,
.aos-initialized [data-aos^="fade"][data-aos^="fade"].aos-animate {
opacity: 0;
transform: translate(0);
}
.product-item.one-quarter:hover .product-information.aos-init.aos-animate {
opacity: 1;
}
Add this CSS at the bottom of Online Store-> Theme->Edit code->Assets->theme.scss.liquid
Like This
Before Go to Product
After hovering to product
@Eartha Hi please add this css
this is look like this : https://prnt.sc/ToMbfiKEWhaz
.template-index .product-information.aos-init.aos-animate {
display: none!important;
}
Eartha
November 24, 2022, 12:38pm
9
Thanks but this didn’t work
Try this please add this css in your base.css
.template-index .product-information {
display: none!important;
}
Eartha
November 24, 2022, 12:42pm
11
That worked! Thank you. Are you able to remove the price? I’d only like the Product Title to show on rollover. Thanks
Hi @Eartha please add this css
.template-index .product-information:hover {
display: none!important;
}
@Eartha please remove this css for i will provide new working css
.template-index .product-information {
display: none!important;
}
Eartha
November 24, 2022, 12:57pm
15
I’ve accepted the solution above as this works for showing the title and price on rollover. I’m just looking to remove the price now so the title is the only thing that shows on rollover
Yes @Eartha Please add this :
.template-index span.new-price:hover {
display: none!important;
}
Eartha
November 24, 2022, 1:20pm
17
unfortunately that didnt work
.template-index span.new-price { display: none!important; }
Eartha
November 24, 2022, 1:30pm
19
This works well on the homepage but it has removed the text completely on the collection pages
you added this class .template-index ??