Hi there!
I have a blog preview on my landing page and, in the mobile version, the blog preview is way too long.
How can I hide the Blog description in mobile, leaving only the Photo and the Title?
Website: https://venga-store.com/
Theme: Dawn
Thanks a lot for your help!
Hi @miltokas ,
Follow these Steps:
- Go to Online Store
- Edit Code
- Find theme.liquid file
- Add the following code just above tag
If you require further help to optimize or customize your store, please don’t hesitate to reach out. If you find this information useful, a Like would be greatly appreciated. And if this solves the problem, please Mark it as Solution!
Best Regards,
LuffyOnePiece
Add This css In Your base.css File
@media screen and (max-width:650px){
.blog__posts.articles-wrapper p.article-card__excerpt.rte-width {
display: none;
}
}
This Hide a Blog-post Description in mobile only.
Hello @miltokas
You can add code by following these steps
-
Go to Online Store → Theme → Edit code.
-
Open your theme.liquid file
-
Paste the below code before on theme.liquid
@media screen and (max-width: 767px){
.article-card-wrapper p.article-card__excerpt.rte-width {
display: none !important;
}
}
Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.