Hi everyone,
Is there a way to hide these individual elements of the new /about page using some CSS?
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
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.