Shopify themes, liquid, logos, and UX
Hi,
I want to remove the product titles on specific featured collection grids on the home page. I don't want to remove the link from the image.
I've already added this custom css to remove the price but nothing that I have tried will remove the title.
.collection .card-information .price {
display: none !important;
}
Thanks for any help!
Solved! Go to the solution
This is an accepted solution.
Thanks for the info, check this one.
From your Shopify admin dashboard, click on "Online Store" and then "Themes"
Find the theme that you want to edit and click on "Actions" and then "Edit code".
In the "theme. Liquid" file. Find the </body> tag and paste the code below before the tag.
{% if template.name == 'index' %}
<style>
.collection .card__heading {
color: transparent;
}
.collectio .card__content {
position: absolute;
top: 50%;
}
</style>
{% endif %}
And save.
Result:
Note: This will hide only on your homepage not the collection page.
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Hi @Smeelah
Would you mind sharing your store URL? Thanks!
This is an accepted solution.
Thanks for the info, check this one.
From your Shopify admin dashboard, click on "Online Store" and then "Themes"
Find the theme that you want to edit and click on "Actions" and then "Edit code".
In the "theme. Liquid" file. Find the </body> tag and paste the code below before the tag.
{% if template.name == 'index' %}
<style>
.collection .card__heading {
color: transparent;
}
.collectio .card__content {
position: absolute;
top: 50%;
}
</style>
{% endif %}
And save.
Result:
Note: This will hide only on your homepage not the collection page.
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
It works perfectly and only on the home page. Thank you very much!
One would assume that would work since it worked for price but no. Thanks anyway!
Hi @Smeelah,
Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code
Step 2: Search file theme.liquid
Step 3: Insert this code above </head> tag:
<style>
.collection .card__heading {
position: absolute !important;
top: 0;
left: 0;
z-index: 2;
width: 100%;
height: 100%;
opacity: 0;
}
</style>
Hope this can help you,
If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you 😍
If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here ☕.
B2B Solution & Custom Pricing | Product Labels by BSS
Need help from our expert? Kindly share your request with us via community@bsscommerce.com
This removes the title from all collections but thanks anyway!
@Smeelah , just add more this code
.collection .card__information .card__heading {
opacity: 0;
}
If our suggestions are useful, please let us know by giving it a like, marking it as a solution.
BSS: B2B Wholesale Solution |BSS: B2B Portal, Quote, Net 30 | B: B2B Lock Password Protect
Need help from our expert? Kindly share your request with us via community@bsscommerce.com
This is Richard from PageFly - Shopify Page Builder App
Hi @Smeelah Please add code here to fix it:
Step 1: Online Stores > Themes > Edit code
Step 2: Choose file theme.liquid
Step 3: Add code above the tag </body>
<style>
.collection .card__information{
display: none !important;
}
</style>
Hope my solution will help you resolve the issue.
Best regards,
Richard | PageFly
Please let me know if it works by giving it a Like or marking it as a solution!
➜ Optimize your Shopify store with PageFly Page Builder (Free plan available)
All features are available from Free plan. Live Chat Support is available 24/7.
Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024The Hydrogen Visual Editor is now available to merchants in Shopify Editions | Summer '...
By JasonH Sep 2, 2024Note: Customizing your CSS requires some familiarity with CSS and HTML. Before you cust...
By JasonH Aug 12, 2024