hello
as you may have noticed font awesome has been updated and some new icons has been added, so how can i include the new version in my Barcelona theme
thank you in advance
barcelona theme- font awesome
Hi, you should do following steps:
- In the web.xml, do 'false' the font-awesome.
- I added script and link from font-awesome cdn v5.0.6 in the template.xhtml :
Example result:
- In the web.xml, do 'false' the font-awesome.
Code: Select all
<context-param>
<param-name>primefaces.FONT_AWESOME</param-name>
<param-value>false</param-value>
</context-param>
Code: Select all
<script src="https://use.fontawesome.com/releases/v5.0.6/v4-shims.js"></script>
<link type="text/css" href="https://use.fontawesome.com/releases/v5.0.6/css/all.css" rel="stylesheet" />
<script src="https://use.fontawesome.com/releases/v5.0.6/js/all.js"></script>
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
Github Profile: https://github.com/mertsincan
-
- Information
-
Who is online
Users browsing this forum: No registered users and 55 guests