Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hey,
I have added trust badges from Trust Badges Bear App to my product pages but I can see the same trust badges coming into my products grid on my homepage for just one product. This is messing up all the alignments on my homepage.
Also, when I am checking from my preview, everything seems to be normal and the trust badges are only coming on product page.
My URL is www.bnfstylespot.in
Thanks!
Solved! Go to the solution
This is an accepted solution.
Hi @bareera_bnf
You can do that by adding this CSS code to theme.liquid file after <head> in Online Store > Themes > Edit code
{% if template == 'index' %}
<style>
#ultimateTrustBadgeswidgetDiv { display: none !important; }
</style>
{% endif %}
Best Regards,
Dan from Ryviu
- Solved it? Hit Like and Accept solution! ❤️Buy Me Coffee❤️
- 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: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.
Hi @bareera_bnf ,
In your css file add this css property for hide badges from product grid.
.card__content #ultimateTrustBadgeswidgetDiv {
display: none;
}
Thanks @oscprofessional! But I am new to Shopify codes, could you please help me with the file as well that needs to be edited for this?
Login to shopify admin -> Online store -> select theme and edit code -> base.css
and paste this code.
This is an accepted solution.
Hi @bareera_bnf
You can do that by adding this CSS code to theme.liquid file after <head> in Online Store > Themes > Edit code
{% if template == 'index' %}
<style>
#ultimateTrustBadgeswidgetDiv { display: none !important; }
</style>
{% endif %}
Best Regards,
Dan from Ryviu
- Solved it? Hit Like and Accept solution! ❤️Buy Me Coffee❤️
- 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: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.
You are very welcome!
- Solved it? Hit Like and Accept solution! ❤️Buy Me Coffee❤️
- 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: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.
2m ago Learn the essential skills to navigate the Shopify admin with confidence. T...
By Shopify Feb 12, 2025Learn how to expand your operations internationally with Shopify Academy’s learning path...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025