Liquid, JavaScript, themes, sales channels
I've looked throughout the community posts thinking this would be a common question but I was unable to find a solution that worked in my instance.
Theme: Minimal
Homepage: www.earthtoplanet.com
I'm trying to remove the title and prices from the products in my Featured Collection (the top six comics). Any ideas?
Solved! Go to the solution
This is an accepted solution.
I was able to remove the price and title from the Featured Collection by adding the following to Assets/base.css
#shopify-section-template--14244790960243__featured_products .price-item{display: none;}
#shopify-section-template--14244790960243__featured_products .price-item{display: none;}
#shopify-section-template--14244790960243__featured_products .full-unstyled-link{font-size: 0;}
I don't know why I needed to add the .price-item class twice but that was the only way it worked in my situation.
Do you mean these?
I don't see any featured collections.
Hi @diego_ezfy , sorry for the confusion as I temporarily removed the featured collection while tweaking the site.
I put back the featured collection for which I’m hoping to remove the title and prices. It’s on the homepage under the heading of “This Week’s Cartoons”: www.EarthToPlanet.com
No problems.
@earthtoplanet, please do the following:
1. In your Shopify Admin go to: online store > themes > actions > edit code
2. Find Asset > theme.scss.liquid or theme.css and paste this at the bottom of the file:
.grid-link__title,
.grid-link__meta{
display: none !important;
}
Kind regards,
Diego
Thanks, @diego_ezfy. Unfortunately, that removed the product and prices from all of my collections whereas I was hoping to only remove those values from my Featured Collection on the homepage. Any modification ideas?
Hi @diego_ezfy. I've reconsidered my theme choice and will be switching to Dawn. I saw on some other threads that you helped someone modify their Featured Collection (change the number of products shown) in the Dawn theme. Would my above request to remove the title and price from the Featured Collection be possible in Dawn?
Thanks!
This is an accepted solution.
I was able to remove the price and title from the Featured Collection by adding the following to Assets/base.css
#shopify-section-template--14244790960243__featured_products .price-item{display: none;}
#shopify-section-template--14244790960243__featured_products .price-item{display: none;}
#shopify-section-template--14244790960243__featured_products .full-unstyled-link{font-size: 0;}
I don't know why I needed to add the .price-item class twice but that was the only way it worked in my situation.
User | RANK |
---|---|
21 | |
21 | |
8 | |
8 | |
7 |
Thanks to all Community members that participated in our inaugural 2 week AMA on the new E...
By Jacqui Mar 10, 2023Upskill and stand out with the new Shopify Foundations Certification program
By SarahF_Shopify Mar 6, 2023One of the key components to running a successful online business is having clear and co...
By Ollie Mar 6, 2023