Hide the preview description of my blog section on home page.

Hide the preview description of my blog section on home page.

tylerklefot
Tourist
7 0 1

Can anyone help me hide the preview description on my blog. I want it to look more clean on the front page of the website.  I am using grid theme.  ThanksScreenshot 2023-09-12 at 6.14.37 PM.png

Replies 9 (9)

PageFly-Noah
Shopify Partner
1317 233 280

Hi @tylerklefot 

 

This is Noah from PageFly - Shopify Page Builder App

 

Please add this code to your theme.liquid above the </head> to get this solved

Step 1: Online Stores > Themes > More Actions > Edit code

Step 2: click on theme.liquid and paste the code above the </head>

<style>
.article-card__excerpt {
display: none !important;
}
</style>

 

Hope this can help you solve the issue 

 

Best regards,

Noah | PageFly

Please let me know if it works by giving it a Like or marking it as a solution!


PageFly - #1 Page Builder for Shopify merchants.


All features are available from Free plan. Live Chat Support is available 24/7.

tylerklefot
Tourist
7 0 1

I'm pretty sure I pasted that in the correct spot but it looks like the descriptions are still there? Any ideas? Thanks in advance. 

oceansoul.net

 

PageFly-Noah
Shopify Partner
1317 233 280

Hi @tylerklefot  Please try again with this code to make it work correct with your theme.

<style>
p.home-blog-post-excerpt {
display: none !important;
}
</style>

Here's how it work : 

PageFlyNoah_0-1694749503231.png

 

Please let me know if it works by giving it a Like or marking it as a solution!


PageFly - #1 Page Builder for Shopify merchants.


All features are available from Free plan. Live Chat Support is available 24/7.

tarek_guma
Excursionist
22 0 3

Not working on Dawn

Dan-From-Ryviu
Shopify Partner
10792 2133 2250

Hi @tylerklefot 

Can you share your homepage link? 

- Solved it? Hit Like and Accept solution! ❤️Buy Me Coffee❤️
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.

tylerklefot
Tourist
7 0 1

oceansoul.net

 

thank you

 

Dan-From-Ryviu
Shopify Partner
10792 2133 2250

Hi @tylerklefot 

You can remove it by adding this code to theme.liquid file before </head> tag in Online store > Themes > Edit code 

<style>
.home-blog-post-excerpt  { display: none !important; }
</style>

- Solved it? Hit Like and Accept solution! ❤️Buy Me Coffee❤️
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.

tarek_guma
Excursionist
22 0 3

Not working on Dawn 15

AliAl-baity
Visitor
3 0 0

@tylerklefot @tarek_guma 

 

managed to fix...ignore the instructions to edit your theme.liquid file as that's generally bad practice.

1. Open the preview of the page the blogs section is

2. Right click and click inspect element or inspect

3. click the "Select element" icon. If yours looks different to the screenshot, a google search should show you where yours would be.

AliAlbaity_0-1734876539953.png


4. Hover over any of the blog cards showing the preview and click on it as shown

AliAlbaity_1-1734876615612.png

 

5. Find the <p> section which represents the preview (p in html stands for paragraph)

AliAlbaity_2-1734876712490.png

 

6. Copy the class name from under "class=_____________________"
     !!!_________If the class name has a space, only copy the part before the space_________!!!

 

7. Paste the following snippet in the Custom Css part of your section. Make sure to add the class name with a "." at the beginning:

.PUT-CLASS-NAME-HERE {
  display: none !important;
}

AliAlbaity_3-1734876969161.png

 

 

That should fix it!