MyBB Community Forums

Full Version: How to hide blank avatar field is user hasnt added one
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi all,

I recently updated to 1.8.6 from 1.6.14. In my old version if a member hadn't uploaded an avatar there was simply no avatar field. In 1.8.6 there is a facebookesque blank avatar field like below:


[attachment=35779]


Is there a way to turn this off so it doesnt show if the member hasn't uploaded an avatar? Thanks
you can try this simple css method : add below code at the bottom of global.css
img[SRC*="default_avatar.png"] {display: none !important;}
edit global.css through admin panel & edit in advanced mode.
hard refresh (eg. press CTRL + F5) browser on a topic page after saving changes to global.css
Excellent sir! Worked like a charm!