Issue
- We've created a custom admin-theme but when we go to Instance Settings or System settings, it doesn't show some icons, p.e: accesibility icon.
Environment
- Liferay DXP 7.4
Resolution
-
Having the correct icons available in your theme is dependent on having the correct versions of
liferay-frontend-theme-styled
andliferay-frontend-theme-unstyled
in your package.json. - You can check the versions of those themes from Control Panel -> GoGo shell using below command:
lb styled
- After that, adjust those versions in your custom theme's package.json. Per example, for Liferay DXP 7.4 u86 the values are:
"liferay-frontend-theme-styled": "6.0.67",
"liferay-frontend-theme-unstyled": "6.0.55", - After adjusting the versions run the following commands
- If you are using npm:
npm install && npm run build
- If you are using yarn:
yarn && yarn deploy
- If you are using npm:
- Deploy the new built theme in your Liferay installation and check if this solve the issue.
Additional Information:
Subscriber Exclusive Content
A Liferay Enterprise Subscription provides access to over 1,500 articles that include best practices, troubleshooting, and other valuable solutions. Sign in for full access.
Sign In