I would like to replace the profile-image.png with a font awsome icon.
Any suggestion how I can do this?
Replace profile image with a font awesome icon.
Forum rules
Please note that response time for technical support is within 3-5 business days.
Please note that response time for technical support is within 3-5 business days.
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
Please try;
Code: Select all
<div class="profile-image">
<i class="fa fa-home fa-3x"></i> /* instead of <p:graphicImage
</div>
Github Profile: https://github.com/mertsincan
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
Please check the following context-param in your web.xml;
Code: Select all
<context-param>
<param-name>primefaces.FONT_AWESOME</param-name>
<param-value>true</param-value>
</context-param>
Github Profile: https://github.com/mertsincan
-
- Information
-
Who is online
Users browsing this forum: No registered users and 22 guests