Site logo

Archived topic

remove entry content on the homepage

3 replies · Started by yudafn on November 17, 2021

Viewing posts 1–4 of 4

how to remove entry content on the homepage?
set excerpt word count on blog to 0 no effect

Hi Yuda,

The quick way to do it is by adding this CSS:

body.blog article.post .entry-content {
    display: none;
}

But if I may recommend, consider using a Block Element - Content template to create a layout template for posts on your home/blog page. :)

Here's a demo usage of it - https://www.youtube.com/watch?v=-ZTQP_KA2xE

thanks, work

Nice one. No problem. :D

This archived topic is closed to new replies.