how to use or add custom icon fonts

Posted in: Newsmag
Post count: 28

Hi, I’m using the news mag theme.

I tried to use fontawesome, but the redirect is slowing down my site. So I’m want to see what are the icon fonts included in newsmag, how can I see those fonts and use them like the theme does, for example ‘<i class=”td-icon-views”></i>’ is used for the eye icon. How can I view all the icons and their markup.

Also will I be able to add custom icons fonts to the theme and make use of them, so there are no redirects.

Post count: 20688

Hi,

The theme uses an internal font that contains the icons – http://prntscr.com/nmaq8p
These icons are then applied with CSS – http://prntscr.com/nmaqkl

Your example would work – http://prntscr.com/nmar6x

But font awesome has a much larger collection of icons, loading them from a CDN should be fast from what I can find online, for example – https://woorkup.com/font-awesome-cdn/
https://www.sitepoint.com/using-font-awesome-with-wordpress/
https://community.cloudflare.com/t/reduce-fontawesome-load-time/4814

Thanks

Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newsmag’ is closed to new topics and replies.