Please or Register to create posts and topics.

Hide post date on forum pages

Is there a way to hide only the date the topic was posted?  Would like to keep the avatar and username, just remove the timestamp that displays on main forum page and the list of topics (screenshots attached).

Uploaded files:
  • hide-timestamp-screenshot-1.png
  • hide-timestamp-screenshot-2.png

Hey @cacpro,

to hide the date of the post you have to remove it on different places. Please try the following CSS, but keep in mind that the date is only hidden but still accessible in the source code for everyone:

/* Hide the date at the overview page, but keeps the · */
.asgaros-forum-overview .forum-poster-summary small :first-child {
    display: none !important;
}

/* Hide the date and · at the overview page, this will only work after the next update of Asgaros Forum  */
/*
.asgaros-forum-overview .forum-poster-summary small :nth-child(-n + 2) {
    display: none !important;
}
*/

/* Hide the date at the single forum page */
.asgaros-forum-forum .forum-poster-summary > a {
    display: none;
}

/* Hide date in profile post history */
.asgaros-forum-history .history-time {
    display: none !important;
}

The pull request to remove the midpoint will be added with the next update if @asgaros will approve it:

https://github.com/Asgaros/asgaros-forum/pull/292

Please let me know if you need some further help.

Asgaros, timmy321 and cacpro have reacted to this post.
Asgarostimmy321cacpro
Need professional help with Asgaros Forum? Book an appointment with us at domra Web Solutions for setup and customization services. Learn more about our Toolbox for Asgaros Forum plugin to enhance your forum experience.

Hi guys,

 

Just stumbled across this as I’m trying to hide this too. That CSS you provided works a treat for the desktop view Dominik, but strangely it doesn’t hide the date/dot for widths under 768px (mobile viewing).

 

I’ve not come across this before as in my experience (which is limited!) for something like this to occur you would add media queries so that they’re hidden only on certain screen widths.

 

Is this just me that this happens for? If so, I’m sure there is some CSS I have got wrong somewhere! 🙂

 

Kind regards,

 

Tim

Just to clarify too, I added this one:

 

.asgaros-forum-overview .forum-poster-summary small :nth-child(-n + 2)

display: none !important;

}