Jump to content

CSS Sprite - GT Metrix


superskyman100

Recommended Posts

Hi guys,

 

I'm trying improving my website speed with CSS sprite cause have bad reports from GT Metrix :

image.thumb.png.64d43c67dd66b63028e52735932c242d.png

 

I tried using this code here https://www.toptal.com/developers/css/sprite-generator/  but it seems something doesn't work :

image.thumb.png.02ccc87f2c961c95fe25b6671ae26854.png

 

I just uploaded the image on the right in my public/img/ folder,  then added the CSS code (on the left screenshot) in my custom.css

I modified the path of the generated code from url('css_sprites.png') >>> url(/img/css_sprites.png)

I then tried to see GT Metrix report, but nothing changed, it seems that the code isn't working.

 

Any idea ?

Thanks

 

 

 

 

 

 

 

 

 

 

 

 

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...