I am working with a Lifera migration project. The project was created in Liferay 6.1 , and now I'm moving on to Liferay 6.2.
I am facing a problem in the image path for all CSS files. Migrating to Liferay 6.2 , it adds the Theme folder path and CSS to all images.
Image path in Liferay 6.1: background:url(../../images/xyz.jpg)
Image path in Liferay 6.2: background:url(/myThemeName/css/../../images/xyz.jpg)
The project decoder is as follows:
_diffs |- CSS |- common |- module1.css |- module2.css |- module3.css |- library |- plugin1.css |- plugin2.css |- plugin3.css |- utility |- tool1.css |- tool2.css |- tool3.css |- images |- All Images |- js |- JavaScript files
This product is huge and hard to update all background URLs.
Is it possible to get rid of "theme-name / css" from a path in CSS files.
source share