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
I need to put a new favicon, in which folder should I put my custom favicon?
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
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.
Attachments:
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
I don't have a custom theme, can I edit the standard one?
Ideally, you should not do this change in the default theme. It's better to have a custom theme and apply this change.
> 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
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."
Thank you, the non-recommended solution worked fine.
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™