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

XF 1.2 Avatars in member cards are small and not centered

Discussion in 'Troubleshooting and Problems' started by melbo, Feb 3, 2014.

  1. melbo

    melbo Well-Known Member

    We've always allowed large avatars but I've recently noticed that some (but not all) avatars in the member card are small and not centered. We're using imagemagick and have been since we started. I can't think of any changes that we've made that could have caused this:

  2. Amaury

    Amaury Well-Known Member

    Is this an issue on the default style?
  3. melbo

    melbo Well-Known Member

    Hmm good catch.
    They are displaying fine on my unmodified style but are not good on my modified Whisper 2. I suppose now I need to track down what I did to change this :)

    Thank you
  4. Amaury

    Amaury Well-Known Member

    A good place to start would be the member_card.css template. Compare it between the two styles.
    melbo likes this.
  5. melbo

    melbo Well-Known Member

    It turned out to be some extra.css that was added to fix page nodes with images in responsive design.I've removed it and the avatars in member cards are fixed. Now I just need to figure out how to add this back in so that it only applies to Pages:

    img {
       max-width: 100%;
  6. Tracy Perry

    Tracy Perry Well-Known Member

    Wouldn't specificity for the avatars work?
    .avatar img, .avatar .img, .avatarCropper {
    your code here

Share This Page