October 14, 2020

Blogger: Hide Post Footer from Home

While adding the last modified date to my Blogger blog posts footer, this date isn't displayed nicely in the Home / list view.
I have looked for a way to hide the footer from this index view only.
This is the solution I have found.

In your HTML Template,
just below }]]></b:skin >

add the block

<style type='text/css'>
<b:if cond='data:blog.pageType == "index"'>
.post-footer {display:none !important;}
</b:if>
</style>

No comments:

Post a Comment