Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
imsandertjeee Posted January 2, 2021 Posted January 2, 2021 Hello, i've added the plugin that allows fontawesome icons in HTML. But when i try to add font awesome icons in the blog section or in a regular forum thread it doesn't work. Even when you go into the 'code' part and paste it there. It removes the code and doesnt display. Any fix or how can i make this work?
imsandertjeee Posted January 2, 2021 Author Posted January 2, 2021 Plugin: https://invisioncommunity.com/files/file/9439-axen-font-awesome-5-in-ips/ Code example: <i class="fas fa-adjust"></i>
Nathan Explosion Posted January 2, 2021 Posted January 2, 2021 OK - that plugin doesn't provide this: Quote ....that allows fontawesome icons in HTML as the above is already possible...fontawesome 4.7 is already included with IPS. The plugin just allows FontAwesome 5 to also be used. Your actual issue is probably that the places you are trying to use the code doesn't allow HTML to be used. Elaborate on what you mean by all this: Quote But when i try to add font awesome icons in the blog section or in a regular forum thread it doesn't work. Even when you go into the 'code' part and paste it there. It removes the code and doesnt display. Where are you using the code exactly? imsandertjeee 1
imsandertjeee Posted January 2, 2021 Author Posted January 2, 2021 (edited) 14 minutes ago, Nathan Explosion said: Where are you using the code exactly? The IPS app "Blogs" , when i add a new blog then switch to Source. Then i add the code posted above into all the HTML that's already there. + Why can't we put those Fontawesome icons in the title of a thread? Edited January 2, 2021 by imsandertjeee
Nathan Explosion Posted January 2, 2021 Posted January 2, 2021 Do this instead - the Editor strips empty elements, which is what the <i></i> is...the non-breaking space sorts that for you. <i class="fa fa-bomb"> </i> bradl and imsandertjeee 1 1
imsandertjeee Posted January 2, 2021 Author Posted January 2, 2021 14 minutes ago, Nathan Explosion said: Do this instead - the Editor strips empty elements, which is what the <i></i> is...the non-breaking space sorts that for you. <i class="fa fa-bomb"> </i> Thanks! This does work!! Is it possible to get these icons in the title of an thread/blog aswell ?
Nathan Explosion Posted January 2, 2021 Posted January 2, 2021 Doubt it, as I believe those are items that do not allow html. Use an emoji instead!!
imsandertjeee Posted January 2, 2021 Author Posted January 2, 2021 1 minute ago, Nathan Explosion said: Doubt it, as I believe those are items that do not allow html. Use an emoji instead!! Ahh yeah rip, downside to emoji's is that there arent very many (in comperason to FontAwesome icons)
Recommended Posts