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

XenForo Custom Node Icons (minifing the image pass)

Discussion in 'Styling and Customization Questions' started by Cryptaline, Aug 29, 2012.

  1. Cryptaline

    Cryptaline Active Member

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


    :coffee:

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

    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
     
    Cryptaline likes this.
  3. Cryptaline

    Cryptaline Active Member

    Thx ^^
     

Share This Page