Search…

X3 Photo Gallery Support Forums

Search…
 
metallissimus
Experienced
Topic Author
Posts: 126
Joined: 17 Oct 2019, 06:54

External link icon

23 Apr 2021, 04:04

I want to add this icon to external links in popup descriptons, but it doesn't show up.
Code
<i class="fas fa-external-link-alt"></i>
I tried inside and outside the <a> element, neither worked.

Probably I am missing something basic, I have not used icons before.
 
User avatar
mjau-mjau
X3 Wizard
Posts: 12765
Joined: 30 Sep 2006, 03:37

Re: External link icon

23 Apr 2021, 04:32

X3 uses font awesome 4.7, so that would be:
Code
<i class="fa fa-external-link"></i>
or
Code
<i class="fa fa-external-link-square"></i>
There are a few reasons we haven't updated to Font awesome 5.