I need to have a different image with text for each of my products. As you can see in this print screen I did an image with text for a different product but that is showing in all of my pages. I need to have a different image with text for every product. So I have tried changing the image with text but every time I do that it goes to every single product page. I understand I would need many different images with text files so I can add the correct one to the correct product. But, How do I do that? What is the css code I need to add at the end of image-with-text.liquid so that I can have a different image with text for every product?
You must create different product templates to do that. Please check this to learn how to create new templates
https://help.shopify.com/en/manual/online-store/themes/theme-structure/templates
What do you mean? I have to create many different websites?
Hello Dan- From-Ryviu! I am using the Dawn theme. There are 4 lines in the mobile mode. But I want to keep 3 lines. I want to keep the text in 3 lines on the desktop as in mobile mode. Thank you.
Srore Url: https://dream-tech-zone.myshopify.com/
Password: Admin
Please add this code to your theme.liquid file after tag
Great. It worked. But when I change the font the text is 4 lines. I want to keep this font. please fix this. Thank you.
Great. It worked. But when I change the font the text is 4 lines. I want to keep this font. Can you fix it? Please fix this. Thank you.
Hi, could you try update code to this and check?
You must reduce the size of texts or let it in 4 lines because width of mobile screen is small
Ok, I understand. Thank you so much.
You are very welcome,
Kind Regards,
Dan from Ryviu: Product Reviews & QA
How do I make an Image With Text show only in certain product pages?
You must create a new product template and assign products to it and add that Image with text section for this template then it will appear in certain product pages only.
You can learn more about template following this
https://help.shopify.com/en/manual/online-store/themes/theme-structure/templates