Shopify themes, liquid, logos, and UX
Hello!
I'm building up a homepage using Debut. I would insert the "featured product" block but when I select a specific product in my shopify the preview shows the entire text of the product...I just would add title and the short intro, cutting the rest of the text but I couldn't find a way for it.
What can I do?
Solved! Go to the solution
This is an accepted solution.
It works now!
Thank you so much for your help, you have been very helpful.
Sara
This is an accepted solution.
Thank you very much!!
Please accept as a solution so others can take benefits.
Thanks!
You can add the featured product with the debut theme but along with the featured products. It displays all information related to the product that you selected.
You can select the product but if your product description is too long and it doesn't look good on the page then you can hide the description with the following code.
so It will look short.
You can add the following code at the bottom of your assets/theme.scss.liquid file.
.temmplate-index .index-section--featured-product .product-single__description rte{
display:none;
}
Hope this helps.
Thanks!
Goto Online Store -> Themes -> Aciton dropdown -> Edit code.
See the following screenshot.
Hope this will be helpful.
Thanks!
Sorry I found the screenshot and did what you wrote but nothing changed.
Look below:
But the preview is the same after saving (as you can see in the image below)
What can I do?
Please share your website URL. It will be difficult to give a solution without checking your website.
Thanks!
I am going off for today. I will check and provide a solution tomorrow my morning.
Thanks!
Please try the following code
.template-index .product-single__description {
display: none;
}
Hope this helps.
Thanks!
This is an accepted solution.
It works now!
Thank you so much for your help, you have been very helpful.
Sara
This is an accepted solution.
Thank you very much!!
Please accept as a solution so others can take benefits.
Thanks!
Is this the accepted solution? It removes the the Description from the Product page as well not just the featured product
Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024Digital marketers and app developers have tracked activity in apps and websites for yea...
By Ollie Mar 13, 2024February was an exciting month with Shopify Editions, informative webinars, and more! F...
By JasonH Mar 7, 2024