1

I am trying to insert a link say https://google.com into a font awesome icon say \faHome

How do I do this using the hyperref package? I researched but I cant find any info?

1

\href is your friend:

\href{https://google.com/}{\faHome}
  • If I use two of these, this creates an odd space between the icons. How does one fix this? Ie 2 links side by side – Bana Aug 2 '17 at 0:38
  • @Bana Then, do not insert the space (comment line ends, ...). – Heiko Oberdiek Aug 2 '17 at 0:40
  • I'll show an example soon once I try to debug it myself lol – Bana Aug 2 '17 at 0:41
  • @Bana: …and welcome to TeX.SX! – GuM Aug 2 '17 at 1:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.