Remove avatars from Mobile site?
Fluffycakes
New
Hi!
What is the easiest way to remove or disable avatars for the default mobile theme only? It appears to be using applications/dashboard/design/style.css, but that's also used by my full site. I can't change that without affecting everything else..
Any tips?
0
Best Answers
-
HalfCat
✭✭
You can find the css of the mobile theme in the
/themesfolder. If I were in your place though, I would copy-paste and rename that theme an make my changes in the new one so that you can always fall back in case you mess things up.0 -
vrijvlinder
MVP
.ProfilePhotoMedium{display:none!important;} or img.ProfilePhotoMedium{display:none!important;} or body#vanilla_discussions_index.Vanilla.Discussions.index.ProfilePhotoMedium{display:none!important;}1
Answers
I should mention that I only want to remove avatars from actual discussions
You can find the css of the mobile theme in the
/themesfolder. If I were in your place though, I would copy-paste and rename that theme an make my changes in the new one so that you can always fall back in case you mess things up..ProfilePhotoMedium{display:none!important;} or img.ProfilePhotoMedium{display:none!important;} or body#vanilla_discussions_index.Vanilla.Discussions.index.ProfilePhotoMedium{display:none!important;}❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
@Fluffycakes
You can set rules to affect specific page types by appending the page type name to the rule.
e.g.
.discussions .ProfilePhotoMedium{display:none!important;}The mobile site will hide avatars by default in 2.1, FWIW.