Remove Date

Posted in: Newsmag
Post count: 56

Hello, is there anyway i can remove the date under the title of my articles in some blocks that i have in my homepage?

Thank you in advance

Post count: 6535

Hi

Yes this can be done via css and this is an example for block 4:

.td_block_4 .td-post-date, .td_block_4 .td-post-author-name span{
display: none;
}

If you want to do it for other blocks just change block’s class, for example for block 2 you will have to use td_block_2.

Thanks!

Post count: 56

hello, i have block 4 in many pages. is it possible to remove the date only from the home page?

Post count: 56

please let me now how i can also remove the date and from a slider

Post count: 6535

Hi

Yes it is possible to remove the date only from homepage, To do that replace the previous css with this one:

.home .td_block_4 .td-post-date, .home .td_block_4 .td-post-author-name span{
display: none;
}

To remove the date from slider use this css:

.home .td-theme-slider .td-post-date, .home .slide-meta-author .td-post-author-name span{
display: none;
}

The code it’s made for homepage but is you want to use it for all site just remove .home class.
Thanks!

Viewing 5 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic.