The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Using my own Font for Icon Class Re: Using my own Font for Icon Class


If you have the rule defined linking up the sources, you just use it in whatever selectors you want based on the name you gave it, eg:

.icon-starz {
font-family: “Font1”, Helvetica, Serif /* always include fallback for non-supporting browsers */

In there, you can also set other font attributes in the usual manner. On a side note, I would really recommend using a more descriptive name than font1 as, if you end up with lots of declarations, it might get confusing to work out which is which.