XF 1.3 HTML/CSS Image Sprite

Hi,

I wanted to add an sprite to an a few images that I have. I was wondering where would I put the code. I've found something online with the CSS image sprite, but I am looking for more information about this.

Thank You.
 

Attachments

  • 1d6af38e9433d8c5a55d79e1d87d5cb8.webp
    1d6af38e9433d8c5a55d79e1d87d5cb8.webp
    12.2 KB · Views: 11
  • d82471de690ca5e692b0199abf4c3f13.webp
    d82471de690ca5e692b0199abf4c3f13.webp
    78 KB · Views: 7
I'm not sure what you're asking.
A sprite is simply a number of separate images on the same canvas (file).

You use them in CSS like any other image, with the only difference being you need to specify the coordinates.
 
You would need to edit the templates to customise the HTML.

Otherwise, if you want to edit the CSS, use EXTRA.css, or edit the CSS template directly.
 
Top Bottom