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
Hey Community! As we jump into 2025, we want to give a big shout-out to all of you wh...
By JasonH Jan 7, 2025Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024