RoseTheFlower / MetroSteam

Metro skin for Steam. Reborn.
184 stars 8 forks source link

Hiding VAC status #30

Closed Fan4eGGG closed 6 months ago

Fan4eGGG commented 6 months ago

sup. if I put the code in the browser - it works:

.profile_ban_status {
  display: none;
  visibility: hidden;
}

But if I add the same thing to custom.css, nothing happens. But it worked literally a month or two ago. am I doing something wrong? please clarify. thanks.

PhantomGamers commented 6 months ago

If you're trying to do this for the profile page then it needs to be added to the webkit.css file

RoseTheFlower commented 6 months ago

Phantom's suggestion should work. You don't need to set visibility to hidden, by the way. The element gets completely removed with the display: none override.

Fan4eGGG commented 6 months ago

it needs to be added to the webkit.css

thats worked. I always thought that any custom code should be added to custom.css. thanks for the help.

The element gets completely removed with the display: none override.

u r right, thank u!

RoseTheFlower commented 6 months ago

I always thought that any custom code should be added to custom.css.

That's ideal, as it would prevent any overriding from updating the skin. webkit.css is currently an exception, as it doesn't import custom.css.