question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Fontawesome and <a> tag?

See original GitHub issue

Hi there. It seems there is a problem to show for exemple

<a href="http://www.mywebsiite.com">
<i class="fa fa-home" aria-hidden="true"></i>
</a>

I can’t see anything in Bluegriffon Webpage view… Any help?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
garretwilsoncommented, Jan 30, 2017

@therealglazou , Font Awesome does not depend on JavaScript. I don’t know where you got that; it plainly says on the Font Awesome home page:

No JavaScript Required Fewer compatibility concerns because Font Awesome doesn’t require JavaScript.

@PatH007 the reason you’re not seeing anything could be due to one or both of two problems:

  • First of all, BlueGriffon has a bug that strips empty <i> elements, as I reported in Bug #16 (even though it was claimed to be fixed in Bug #8). If you want to use Font Awesome, you’ll need to put the CSS classes on some non-empty element — in other words, you can’t use the Font Awesome examples directly from the web site, unfortunately.
  • Secondly BlueGriffon uses the Firefox Gecko engine, which by default doesn’t allow icons to be loaded from the local file systems. You’ll need to go into Tools > Preferences > Advanced > Configuration Editor in BlueGriffon and set security.fileuri.strict_origin_policy to false. Then you’ll see the Font Awesome font icons no problem. They look great on BlueGriffon!

@therealglazou , I suggest two things:

  • You should mark this bug #23 as a duplicate of #16 (and fix #16, of course).
  • You should add something to the FAQ explaining how to use security.fileuri.strict_origin_policy in order to see fonts loaded from the local file system.

Cheers!

0reactions
garretwilsoncommented, Jan 31, 2017

Glad I could help, @PatH007 !

Read more comments on GitHub >

github_iconTop Results From Across the Web

tags Icon - Font Awesome
tags icon in the Version 5 Solid style. Make a bold statement in small sizes.. Available now in Font Awesome Pro.
Read more >
How to centre font-awesome icons within <a> tag and disable ...
I want to centre a font-awesome within an tag and disable the blu colour but so far I have not succeed in my...
Read more >
Font Awesome Intro - W3Schools
The fa-fw class is used to set icons at a fixed width. This class is useful when different icon widths throw off alignment....
Read more >
How to use Font Awesome Tag Icon - w3resource
How to use Font Awesome Tag Icon, large icon, change color.
Read more >
I am trying to make these FontAwesome icons clickable links. I ...
So I believe the icon i'm using isn't font awesome as it needs it's class needs to be embedded in the opening <li>...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found