Shopify themes, liquid, logos, and UX
Hi,
I have a problem. I read so many forums here and watched some Youtube videos and tried so many solutions, but nothing worked. I picked up that every theme has different "style" of coding and that if I read that some code works for theme XYZ doesn't mean that it'll work on mine. So after so many hours I am asking for help, can someone help me hide the names and prices of products ONLY on homepage?
And also I have another request: I need to change font to custom font. I tried apps and coding from forums and YouTube videos and guess what, It always changed just few words. I tried to do it through CSS selectors, but that means, that I need to select almost every other word and that's my least possible way I wanna do it.
Please, can someone help me?
Thank you.
Hi @elll
Seems like youve already change the custom font.
For hidng the price and title 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>
.product-item__meta {
display: none;
}
</style>
{% endif %}
And save.
Result:
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Yeah, I changed or tried to change the font but it doesn't show up on the page.
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025