frontend-css-web module was removed in DXP 7.4
How To articles are not official guidelines or officially
supporteddocumentation. They are community-contributed content and may
not alwaysreflect the latest updates to Liferay DXP. We welcome your
feedback toimprove How to articles!
While we make every effort to ensure this Knowledge Base is accurate,
itmay not always reflect the most recent updates or official
guidelines.We appreciate your understanding and encourage you to reach
out with anyfeedback or concerns.
Legacy Article
You are viewing an article from our legacy
"FastTrack"publication program, made available for
informational purposes. Articlesin this program were published without a
requirement for independentediting or verification and are provided
"as is" withoutguarantee.
Before using any information from this article, independently verify
itssuitability for your situation and project.
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 ?
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 of frontend-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.
Did this article resolve your issue ?