Hi everyone,
Is there a way to hide these individual elements of the new /about page using some CSS?
The discussion revolves around hiding elements on the /about page using CSS. Don provides a CSS solution to hide stats like admins, moderators, and creation date. Richie appreciates the fix. Tobias Eigen notes that while the change is visual, the data remains accessible and questions the need to hide stats, suggesting they offer useful site information. He also explores changing the âCreated x years agoâ text, noting itâs a common issue when migrating platforms. Moin suggests using site text customization for language consistency, while Jagster humorously suggests replacing the text with a whimsical phrase. Richie defends hiding stats, arguing they donât add value to new users.
Hi everyone,
Is there a way to hide these individual elements of the new /about page using some CSS?
Hello ![]()
This will hide the admins, moderators and creation date stats.
.about__stats-item {
&.admins,
&.moderators,
&.site-creation-date {
display: none;
}
}
Beautiful!
Thank you so much @Don
![]()
Cool! I tested it and it works. If you hide all of them, it still shows the horizontal lines which looks a bit weird.
Just a note that this is just a visual change. The numbers are still accessible to those who know how to find them.
Curious to understand why you would want to hide that row of stats? They give an excellent summary about your site that members and potential members will like to know. Is it one or more of these numbers in particular that is concerning you? If so, which one or which ones?
I did notice that the â0 moderatorsâ looks a bit weird. Maybe we just change it so it is not shown if there are no moderators.
@Don do you know if you can use CSS to change the âCreated x years agoâ number?
What do you want to achieve? Why donât you just customize the text?
A customer asked me recently about changing the âcreated x years agoâ number because it is not accurate in their case, because they migrated from another platform. I think this is a common use case so we should make it easy to change this number.
I guess it involves the following site texts - a more user friendly solution may be to offer a site setting to override the creation date.
I am curious how you change it with css while still matching the userâs interface language. If the about page was in German but that text was in English, it is quite obvious that the number was manipulated. And the about page is one I often check without being logged in, so because of set locale from accept language header I see that quite often in German even at forums which I use in English. Thatâs why I thought the usual way of customizing text could be less obvious.
The welcome topic here at Meta was also created more than 9 years ago.
Or just changing Created %{count} years ago to Online since dawn of the time ![]()
But I donât know how that trivial data would benefit any users, but it is propably again just me.
Just realized you can just change the one that affects your particular case - if youâve been around for more than a year you can customize js.about.site_age.year.other.
I donât feel those statistics offer any value.
The quantity of admins or moderators wonât influence anyone that might be considering signing up.
If they are interested in that number, they can simply count them because theyâre all displayed directly below that figure anyway ![]()