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

XF 1.5 How do I make everyone (temporarily) have the same avatar?

Discussion in 'Styling and Customization Questions' started by CyclingTribe, Apr 1, 2016.

  1. CyclingTribe

    CyclingTribe Well-Known Member

    Is there a quick CSS shortcut I could use to apply the same avatar to all users in thread / post view?

    Thanks,
    Shaun
     
  2. katsulynx

    katsulynx Well-Known Member

    Try the following with a quadratic image:

    Code:
    .avatar {position: relative;}
    .avatar::before {
    content: " ";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    background: url('YOURIMAGE');
    background-size: 100%
    }
     
    Last edited: Apr 1, 2016
    rafass and CyclingTribe like this.
  3. CyclingTribe

    CyclingTribe Well-Known Member

    Needed a slight tweak, but works a treat - thanks for the quick response - now to await the support posts from those who haven't realised what day it is !!! :ROFLMAO:
     
    lazy llama likes this.

Share This Page