Status Cafe Profile

Current mood:
The current mood of xavierhm at www.imood.com


You can click the status.cafe badge opposite of me to check out Xavier's current mood & status →


trans flag bi flag
he/him testosterone
Status Cafe Bear
desktop view html
IE chrome firefox
linux email
weeb eyes third impact
3ds gcn
hello kitty touch
i like computer cds
yellow crayon
blog sweet blog
layout
kind computer
love online
bad website
night blogger
trans flag
more
Mastodon
loading...
latest played song on last.fm

Xavier H.M.

Number Goes U̶p̶?̶ Who Cares Where! — How to hide the "Analytics" page from your Dashboard (and upvote counts on posts)

I've been finding myself checking the analytics page on my dashboard way too much, so I decided to fix that. I played around inspecting the elements on the Dashboard until I found what I was looking for.

The Analytics page is found in the nav a CSS block. The blinking Bear link is tagged as the last-child. All I did was test if first-child manipulates the Analytics link, which it does.

Here's the final code:

header nav a:first-child {

display: none;

}

Here's how it looks in the code itself, viewed from the Firefox Inspect tool:

Screenshot from 2025-01-01 00-03-32

And here's how it looks on my Dashboard:

Screenshot from 2025-01-01 00-03-44

I can still view the Analytics page manually whenever I want to, but it's not as easy to just check on impulse.

I also went ahead and removed the upvote count on my posts, using this simple code:

.upvote-count {

display: none;

}

I hope this is useful to anyone else who wants to avoid worrying about engagement, clicks, views, etc. I'm trying to ween off of that crap and focus more on what this blog is meant for—writing, reading, and connecting with other people.

Cheers!

ETA: I've just realized that this hides the "Home" page on the first part of the Nav bar as well. 😭 I'll mess around and see if I can come up with another hack, lol.

It still works for me; I just have my blog Dashboard bookmarked anyway, so I can easily jump back to the Home page whenever.


Posted on — 01/01/25
Last modified — 7 months, 3 weeks ago
Link — https://blog.xavierhm.com/number-goes-up-who-cares-where-how-to-hide-the-analytics-page-from-your-dashboard-and-upvote-counts-on-posts

#blog #css