What's your biggest current challenge? Have your say in Community Polls along the right column.

How to hide Blog Posts body/text in my homepage? I am using Dawn Theme

Solved

How to hide Blog Posts body/text in my homepage? I am using Dawn Theme

leila_official
New Member
6 0 0

Hello!

I would like to show ONLY the Title of the Blog posts in my Homepage. Is there a way to do it? I've seen posts but it only hides the Title not the text.

 

Screenshot 2023-04-11 160210.png

Accepted Solution (1)

websensepro
Shopify Partner
1290 145 166

This is an accepted solution.

Hi @leila_official 
1. Go to the online store 

2. Customize 

3. left hand sidebar to scroll in Blog posts in custom css and pasted the code 

p.article-card__excerpt.rte-width {

display: none;
}
Need a Shopify developer?
Hire us at WebSensePro
For Shopify Design Changes | Shopify Custom Coding | Custom Modifications
Subscribe to our youtube channel or buy us a Cofee here

Free Shopify Beginner Tutorial

View solution in original post

Replies 4 (4)

websensepro
Shopify Partner
1290 145 166

This is an accepted solution.

Hi @leila_official 
1. Go to the online store 

2. Customize 

3. left hand sidebar to scroll in Blog posts in custom css and pasted the code 

p.article-card__excerpt.rte-width {

display: none;
}
Need a Shopify developer?
Hire us at WebSensePro
For Shopify Design Changes | Shopify Custom Coding | Custom Modifications
Subscribe to our youtube channel or buy us a Cofee here

Free Shopify Beginner Tutorial
leila_official
New Member
6 0 0

Just what I was looking for, much appreciated!

Mohamed-28
Excursionist
28 1 3

Thanks so much 😊

PageFly-Victor
Shopify Partner
7865 1786 3120

HI @leila_official 

 

You can try this code by following these steps:

Go to Online store => themes => actions => edit code  and add this code on file theme.liquid before tag </body>

 

PageFlyVictor_0-1681200122261.png

 

PageFlyVictor_1-1681200122266.png

 

<style>

p.article-card__excerpt.rte-width {

    display: none;

}

</style>

 

Hope this answer helps.

Best regards,

Victor | PageFly