• i want to have my page speed faster hence please anyone help me that how to create sprites of images in wordpress and wat are the main component that are required

Viewing 2 replies - 1 through 2 (of 2 total)
  • Sprites are nothing other than combining all your images into one single large image by tiling them. You can do this in photoshop or a similar picture editor quite simply:

    Your CSS gets a little picky as you want to be sure that the element you apply the sprite too clips in a way that the rest of the sprite does not show else it will look weird.

    Here is an example of a sprite that I use on one of the sites I built:

    social-sprite-32px.png

    If you google a bit, you can actually find generators that will take the images on a page, combine them, and spit out some css for you

    You can pick and choose what images to include, etc. I had some success on another site doing that, unfortunately I forget which service worked best – I did try quite a few if I recall

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘how to create sprites’ is closed to new replies.