• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.4 Removing Avatar from Member Card Pop-up

I have figured out how to remove the avatar from most pages except the member card page.

What lines of code do I need to need to take out of the member card template in order to remove the avatar?



Well-known member
Try this:

.avatar img {
    display: none;
Then adjust the contents of the member card to fill in the space accordingly:

.xenOverlay.memberCard .userInfo {
    margin-left: 0;

I added the above 2 sets of code to the member_card.css template. It did not work.

Do I also need to remove some code at the same time?