• 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?

CTXMedia

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

Thanks,
Shaun
 

katsulynx

Well-known member
#2
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:

CTXMedia

Formerly CyclingTribe
#3
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: