Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
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
/themes
folder. 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
/themes
folder. 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.❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
@Fluffycakes
You can set rules to affect specific page types by appending the page type name to the rule.
e.g.
The mobile site will hide avatars by default in 2.1, FWIW.