Select to view content in your preferred language

Support for icons

991
2
02-26-2020 08:18 AM
DataOfficer
Frequent Contributor

I am creating a hub site, and am trying to use icons from FontAwesome (e.g. social media icons). I am using the following html within a card. The icons appear correctly in the site editor view, but not in 'View'. 

<script src="https://kit.fontawesome.com/666072fe88.js" crossorigin="anonymous"></script>

<h4><strong>Share this page</strong></h4>
<div>
<a href="mailto:?subject=Snakes%20in%20the%20Heather&amp;amp;body=https://www.arc-trust.org/snakes-in-the-heather"><i class="fas fa-envelope-square" style="font-size:40px; aria-hidden=" true"="" aria-hidden="true"></i></a>
<a href="https://www.facebook.com/sharer.php?u=https://www.arc-trust.org/snakes-in-the-heather&amp;t=Snakes%20in%20the%20Heather"><i class="fab fa-facebook-square" style="font-size:40px;color:#4267B2" aria-hidden="true"></i>
</a><a href="https://twitter.com/intent/tweet?text=Snakes%20in%20the%20Heather&amp;url=https://www.arc-trust.org/snakes-in-the-heather"><i class="fab fa-twitter-square" style="font-size:40px;color:#1DA1F2" aria-hidden="true"></i></a></div>

I've spotted that script tags are not currently supported. Therefore, is there another workaround to getting icons to appear?
Many thanks,
Rob

Tags (4)
0 Kudos
2 Replies
by Anonymous User
Not applicable

You could try pasting in the SVG's directly using a text card

QuayeT
by
Emerging Contributor

Did you every find a work around?

0 Kudos