Jonius7 / SteamUI-OldGlory

A set of customisable Steam Library tweaks, with an installer. Also a reference that you can use to learn how to make your own tweaks.
https://jonius7.github.io
Apache License 2.0
253 stars 5 forks source link

Need some help hiding the Achievements section #92

Closed Fizzboks closed 1 year ago

Fizzboks commented 1 year ago

Hello. I am trying to hide some sections on Steam and I managed to hide almost all of the ones I wanted to, except for the Achievements section. I followed your guidance on using the dev mode to highlight the section and change the appropriate CSS, but I wasn't able to find the code to put display: none to. I am not familiar with programming in general so I was hoping to turn to you for advice. Thank you making this awesome tool, my experience on Steam would not be nearly as pleasant without it.

sunlightspectre commented 1 year ago

I believe off the top of my head that if you open up:

That should hide achievements without need for hand-editing. I can't test right now, sorry!

Fizzboks commented 1 year ago

Ok, I tried doing that, but it didn't seem to do anything. Just to clarify, I mean that when I click on a game from my library, I want to hide the achievements box so I don't see it alongside the notes, DLC, community content, trading cards etc.

When I untick the box and install it, is the section supposed to have disappeared?

sunlightspectre commented 1 year ago

Hrmn...

I think I was a dummy, that just tells OldGlory not to import the separate achievements.css rather then exclude it entirely.
Apologies, juggling a bit today. Re-check that box, and let me mess around for a bit...

It looks like none of the settings currently available effect achievement visibility. Aggravating. I'll do my best to figure something out this weekend.

sunlightspectre commented 1 year ago

@Fizzboks I've tried every permutation of achievements_container I can find, and steam just doesn't want to hide the achievements segment. Unless there's something I'm missing that @Jonius7 knows about, I'm afraid you're stuck with them. I'm very sorry, and wish I had better news for you.

Fizzboks commented 1 year ago

Alright, well I appreciate you taking the time to look into it.

Jonius7 commented 1 year ago

This should work for most if not all pages, since the Achievements section is usually div no.4

.appdetailsoverview_SeekTarget_vzLed:nth-of-type(4) {
    display: none;
}
Fizzboks commented 1 year ago

That totally worked, thanks!