Change Fabicon of Liferay document links

Hi Team,

I have changed the Liferay control panel fabicon but I am still seeing liferay fabicon when I am opening the I documents uploaded in asset Library using **Latest Version URL.
**
I have followed steps below

https://learn.liferay.com/kb-article/how-to-change-the-control-panel-favicon

Thanks

4 Answers

4

Can know the version of Liferay you using? The fast track publication might be referring to an older version.

You should be able to change the favicon from portal itself

Fabicon is already configured and its visible for pages I am using Liferay DXP 2025 Q1. steps to reproduce 1. Upload document in asset library 2. Copy the the latest version url of document uploaded 3. Paste on new browser tab 4. Its shows Liferay fabicon not what is configured at page level or Root level

The best way to change the favicon is in the pages configuration as described here. The alternative would be using a client extension, but most likely that’s overkill.

Can you check from where the favicon.ico is loaded (from theme or root path) when you load the document?

Sounds good, let me look at it.

Its loaded from /o/classic-theme/images/favicon.ico

I didn’t notice that you mention it was uploaded to asset library, that is probably why the favicon you configured for the site didn’t load. There are 2 ways I can think of

1. Update the favicon inside classic theme

  • Download the classic-theme.war from osgi\portal-war
  • Open it using 7zip/winrar
  • Replace favicon.ico file in images folder with your favicon
  • Deploy back

2. Use rewrite for favicon.ico, if you are fronting Liferay with Apache/NGINX