Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Font Awesome Help

Featured Replies

Hello all.

 

I am having problems trying to get font awesome icons to display properly on my site. They show up fine in IE and Chrome, but in Firefox the only thing that appears is a rectangle where the image should be.

 

I have included all the css and fonts, but they don't seem to show up in Firefox.

 

You can view what I have done so far here.

 

Any help with this would be gratefully appreicated.

 

Thank you.

  • Author

This is weird. On my local machine, the images do not display. When I put it live they work.

 

This is what it looks like on my local machine.

 

screenshot.png

 

On live the images display fine. Has anyone else come across this before?

  • Author

I have a folder called font and in that folder I have the font awesome fonts. In the font awesome css I have the following:

 

@font-face{font-family:'FontAwesome';src:url('../font/fontawesome-webfont.eot');src:url('../font/fontawesome-webfont.eot?#iefix&v=3.2.1') format('embedded-opentype'),url('../font/fontawesome-webfont.woff') format('woff'),url('../font/fontawesome-webfont.ttf') format('truetype'),url('../font/fontawesome-webfont.svg#fontawesomeregular') format('svg');font-weight:normal;font-style:normal;}[class^="icon-"],[class*=" icon-"]{font-family:FontAwesome;font-weight:normal;font-style:normal;text-decoration:inherit;-webkit-font-smoothing:antialiased;*margin-right:.3em;}

In the head of the index.html I have the following:

 

<!-- **Font Awesome** -->
    <link rel="stylesheet" href="font-awesome.min.css">
    <!--[if IE 7]>
    <link rel="stylesheet" href="font-awesome-ie7.min.css">
    <![endif]-->

I'm not sure why it won't work.

Are you using WAMP/MAMP or just static pages?

 

Either way it may be the FA path, '../font/fontawesome-webfont.eot' may be incorrect so try '/font/fontawesome-webfont.eot' or 'font/fontawesome-webfont.eot' (and repeat for other SRC values!).

Edited by BlueDreamer

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.