How to remove avatars in Notifications *only*?

Hi there! I need help figuring out how to completely remove avatars/user icons from the Notifications page ONLY. I've already attempted to do this via CSS, but that also removed avatars from various other areas, such as discussions and topics.
Any help will be greatly appreciated!
0
Best Answer
-
Kasper Vanilla Staff
Something like this should do the trick:
.InformMessages .ProfilePhoto { display: none; }
Here we're hiding all images with the class of
.ProfilePhoto
that are placed within the.InformMessages
element, which just so happens to be the main container of all notifications.Kasper Kronborg Isager (kasperisager) | Freelance Developer @Vanilla | Hit me up: Google Mail or Vanilla Mail | Find me on GitHub
0
Answers
You could utilize the
.InformMessages
class to do it using CSS.Kasper Kronborg Isager (kasperisager) | Freelance Developer @Vanilla | Hit me up: Google Mail or Vanilla Mail | Find me on GitHub
Could you please be a bit more specific? I'm kind of clueless here.
Sure! You said you've tried hiding the avatars using CSS - how did your code look?
Kasper Kronborg Isager (kasperisager) | Freelance Developer @Vanilla | Hit me up: Google Mail or Vanilla Mail | Find me on GitHub
My CSS knowledge is extremely limited, so I just added display: none; after .Item .Author img {
It didn't do much.
If you could give me some directions on how to utilize InformMessages, I'd appreciate it! Again, I'm kind of clueless when it comes to CSS.
Something like this should do the trick:
Here we're hiding all images with the class of
.ProfilePhoto
that are placed within the.InformMessages
element, which just so happens to be the main container of all notifications.Kasper Kronborg Isager (kasperisager) | Freelance Developer @Vanilla | Hit me up: Google Mail or Vanilla Mail | Find me on GitHub