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.
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024