Hello,
I have bought the Modena Template for primefaces. But I have a little issue.
I cannot add a favicon to the tab. I have tried with several codes and none of them work. I have search for help but nothing seems to work.
For Example:
<link rel="shortcut icon" type="image/x-icon" href="images/favicon.ico" library="modena-layout"/>
Please if someone knows how to, can lend me a hand.
Regards
TAB ICON
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
<link> tag doesn't have library attribute; http://www.w3schools.com/tags/tag_link.asp
Exp;
in template.xhtml
Path: primefaces-showcase(project) > src > main > webapp > resources > main > images > favicon.png
Exp;
in template.xhtml
Code: Select all
<h:head>
<f:facet name="first">
...
<link rel="shortcut icon" type="image/png" href="#{request.contextPath}/resources/main/images/favicon.png" />
</f:facet>
....
</h:head>
Github Profile: https://github.com/mertsincan
-
- Information
-
Who is online
Users browsing this forum: No registered users and 1 guest