Issue
- If I use frontend-js-override module, is there any impact on front-end-js-web module due to removal of frontend-css-web ?
Environment
- Liferay DXP 7.4
Resolution
- frontend-web-css was removed in Liferay 7.4 here:
https://issues.liferay.com/browse/LPS-127085
https://github.com/liferay/liferay-portal/commit/da0c60d1a1d449771877afc0906aab411cb243ba
- Removing frontend-web-css references from your custom code, if there is any, would be the first step. Although since Liferay 7.0 there have been numerous changes in the code and if you use any styling in your javascript override module, it could easily break when implementing it in Liferay 7.4.
- There are a few components in
frontend-js-web
with style overrides, and they are overriding the latest styles, either from the theme or from Clay. The removal offrontend-css-web
did affect styles all over DXP.
The developer team has confirmed that in the out of the box Liferay they fixed all the classes/styles/markup affected by the above changes.
- All the styles used in frontend-css-web are being replaced with other classes or moved to other modules (frontend-theme-styled) – if your module, for example frontend-js-web is using a CSS class that was used in the frontend-css-web module, removing it should be ok, since the styles do not rely on those classes anymore.
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