Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.

SnowFlat theme: Why are icon images used and additionally the fontello icon font?

+1 vote
1,139 views
asked Nov 21, 2014 in Themes by q2apro
Investigating SnowFlat theme further, I just think, why do we use an icon font (which is quite good !) and then additionally many png images that represent icons (which is not so good, each icon is one request to the server). See folder images/icons.

 

PS: If the png images cannot be replaced by the icon font, I advice to use one big image that holds all icons and then reference by background-position. All big sites are doing that nowadays... or use font icons :)
Q2A version: 1.7

1 Answer

+3 votes
answered Nov 21, 2014 by Ami
It is recomened to use vector font icons due to the flexibility .

Suppose in Images you want four different colors , you need four diferent images . Same with size , height , width .

 

But if you use font icons everything is in your control , change what ever you want using simple css properties like color , font size etc .. And also they load faster .
 

Disadvantage is they wont supported in older Browser .
commented Nov 21, 2014 by q2apro
Yep, so Jatin decided to support old browsers as well, that's why he has chosen image icons as well?
...