1. shelleydarling
  2. Commercial Templates
  3. Sunday, 26 March 2023
  4.  Subscribe via email
Hi!
In Ashley template for Joomla4, I can't seem to get any fontawesome icons to work.
The fortawesome.github link doesn't work.
The pixeden icons work perfectly.

Thank you!
Accepted Answer Pending Moderation
0
Votes
Undo
Joomla 4 is using FA5 icons see:
https://fontawesome.com/v5/search
  1. more than a month ago
  2. Commercial Templates
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
Did you actually get this working chaps? I have the same problem in Nina on J4.
(Using wrench as an example) I've tried fa fa-wrench; fas fa-wrench; fa-wrench

None of them are doing it for me. Id be grateful for your assistance

L
  1. more than a month ago
  2. Commercial Templates
  3. # 2
Accepted Answer Pending Moderation
0
Votes
Undo
Hello,
I just tried on J4 Nina Template to add fontawesome icon to a heading.

I took this code:

<h1><span class="fas fa-wrench"></span>Cookies</h1>


The result is
wrench_j51.jpg .


(to add some space around the icons I always add something like this to my custom.css:

.fa, .fab, .fad, .fal, .far, .fas {padding: 0 5px 0 2px;}

)

So in the J4 templates you should use the fontawesome icons with SPAN or I tag. There should nothing be in between the opening and the closing tag.

In J3 templates you could add a FA icon to a link like this:

<a href="#" class="fa-envelope">Link</a>

In J4 templates you should use it like this:

<a href="#"><span class="fa fa-envelope"></span>Link</a>


If you need a special FA icon, check your font-awesome.css in templates/j51_xxx/css/font-awesome.css if it is listed there.
Searching for icons in general is easy on https://fontawesome.com/icons

But be sure you click on FREE to get the icons that can be (not must be!) available on the J51 templates.:

wrench2_j51.jpg

And last but not least: be sure you have the fontawesome icons allowed in your template under General > Typography Styling > right side on the bottom.

Hope this helps
Regards
Oliver
Attachments (2)
  1. more than a month ago
  2. Commercial Templates
  3. # 3
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!

Join Our Newsletter

* indicates required
We respect your privacy and do not tolerate spam and will never sell, rent, lease or give away your information (name, email, number, etc.) to any third party. Nor will we send you unsolicited email.
Joomla51 - Mullaghmore, Co. Sligo, Ireland
Joomla51.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by
Open Source Matters
the trademark holder in the United States and other countries.

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.

Ok