Skip to main content

Hey everyone! Is it possible to remove the time when an article was created? Like here in the attached screenshot where it says 28 days ago?

 

Thank you

 

Hi @Idan 

Would you like to remove it from all articles / topics or just for a specific one?


Hey @Daniele Cmty

We were thinking of moving it from all the KB articles.

Some customers indicated that old articles that were updated remained with the old date... 


You could do this with custom CSS, something like:

/* hide timestamp from specific category */
/* 3 lines, first removes timestamp, second the dot separator and the third re-aligns everything */

body.category-2 .qa-topic-first-post li .tooltip .qa-latest-post-time {
display: none;
}
body.category-2 .qa-topic-first-post li:nth-of-type(2)::before {
display: none;
}
body.category-2 .qa-topic-first-post li:nth-of-type(2){
margin-left: 0;
}

You could do this with custom CSS, something like:

This removes timestamp just from the qa-articles?


The snippet was meant as inspiration, not as a specific fix for this specific need. Check what you need based on your own structure.
What I shared removes the timestamp from topics in the category with ID=2


@Idan in your case the category ID for 

https://community.cymulate.com/cymulate-s-news-updates-2
 

is “2” (last number on the URL)


The snippet was meant as inspiration, not as a specific fix for this specific need. Check what you need based on your own structure.
What I shared removes the timestamp from topics in the category with ID=2

Oh sorry, of course. I looked the code again. Sorry 


And my apologies in turn, that message was a lot harsher in tone than I meant it to be 🤗


Thank you all for helping! I will try it with our developers. 

 


Love this topic btw. Always looking for some cool CSS stuff. 

 

Because I know nothing.

 


Reply