Planned maintenance is scheduled for the week of June 15th - the exact date and time will be announced soon.
See More Details
Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: Liferay 7.1 - how to change default favicon
Davide del Vecchio, modificat fa 6 anys.
Junior Member
Apunts: 27
Data d'incorporació: 05/09/19
Publicacions recents
I need to put a new favicon, in which folder should I put my custom favicon?
Alfonso Crisci, modificat fa 6 anys.
Regular Member
Apunts: 136
Data d'incorporació: 02/04/14
Publicacions recents
Ciao Davide,
You have a way to change it on portal-level from the UI: left Product Menu > Control Panel > Configuration > Instance Settings > Miscellaneous > Logo
Or from the theme: src/images/favicon.ico
You have a way to change it on portal-level from the UI: left Product Menu > Control Panel > Configuration > Instance Settings > Miscellaneous > Logo
Or from the theme: src/images/favicon.ico
Davide del Vecchio, modificat fa 6 anys.
Junior Member
Apunts: 27
Data d'incorporació: 05/09/19
Publicacions recents
I've tryied from Control Panel but the logo in Chrome tab remains the same.
I need to put my custom icon there.
I need to put my custom icon there.
Fitxers adjunts:
Alfonso Crisci, modificat fa 6 anys.
Regular Member
Apunts: 136
Data d'incorporació: 02/04/14
Publicacions recents
Hi Davide, sorry for the confusion, only site logo can be changed from Control Panel. Favicon Will be changed from custom theme: src/images/favicon.ico
Davide del Vecchio, modificat fa 6 anys.
Junior Member
Apunts: 27
Data d'incorporació: 05/09/19
Publicacions recents
I don't have a custom theme, can I edit the standard one?
ANKIT SRIVASTAVA, modificat fa 6 anys.
Junior Member
Apunts: 76
Data d'incorporació: 02/02/11
Publicacions recents
Ideally, you should not do this change in the default theme. It's better to have a custom theme and apply this change.
Davide del Vecchio, modificat fa 6 anys.
Junior Member
Apunts: 27
Data d'incorporació: 05/09/19
Publicacions recents
> Ideally, you should not do this change in the default theme.
But how can I do it?
>It's better to have a custom theme and apply this change.
Can you link me some documentation?
Thanks
But how can I do it?
>It's better to have a custom theme and apply this change.
Can you link me some documentation?
Thanks
ANKIT SRIVASTAVA, modificat fa 6 anys.
Junior Member
Apunts: 76
Data d'incorporació: 02/02/11
Publicacions recents
Alfonso Crisci, modificat fa 6 anys.
Regular Member
Apunts: 136
Data d'incorporació: 02/04/14
Publicacions recents
As Ankit is saying, the best way would be through a custom theme, but Olaf replied once on the same topic and explained about another (not suggested) alternative, https://stackoverflow.com/a/53360453:
"As an extreme, non-recommended, quickfix you might want to set the value in portal-ext.properties to theme.shortcut.icon=../../../myfavicon.ico and place a favicon with name myfavicon.ico in tomcat's webapps/ROOT/myfavicon.ico.
But don't come crying later, when you accidentally overwrite it in an upgrade."
"As an extreme, non-recommended, quickfix you might want to set the value in portal-ext.properties to theme.shortcut.icon=../../../myfavicon.ico and place a favicon with name myfavicon.ico in tomcat's webapps/ROOT/myfavicon.ico.
But don't come crying later, when you accidentally overwrite it in an upgrade."
Davide del Vecchio, modificat fa 6 anys.
Junior Member
Apunts: 27
Data d'incorporació: 05/09/19
Publicacions recents
Thank you, the non-recommended solution worked fine.
Community
Company
Feedback