XenForo Custom Node Icons (minifing the image pass)

Cryptaline

Active member
Just curious, whats the proper way to link the image within xenforo, e.g from this folder:


/myxenforoforums/data/avatars/s/0/491.jpg
:coffee:

Is it { background-image: url(' /myxenforoforums/data/avatars/s/0/491.jpg ');} ?
 

Jake Bunce

XenForo moderator
Staff member
Normally you use a relative path from the forum root. For the /data directory in the forum root just use:

data/avatars/s/0/491.jpg
 
Top