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
User | RANK |
---|---|
143 | |
109 | |
79 | |
62 | |
59 |
Explore the 30-30-30 rule, a dynamic social media strategy for new businesses. Learn how t...
By Trevor Sep 20, 2023Discover how to leverage the often overlooked footer of your ecommerce site to gain custom...
By Skye Sep 15, 2023In this blog, we’ll be shining a light on Shopify Partners, Experts, and Affiliates. Who a...
By Imogen Sep 13, 2023