I’ve created a new theme using the Liferay Eclipse IDE and have modified build.xml to change the theme.parent to classic. Here is my complete build.xml file:
<?xml version="1.0"?>
<!DOCTYPE project>
<project name="deep-blue-theme" basedir="." default="deploy">
<import file="../build-common-theme.xml" />
<property name="theme.parent" value="classic" />
</project>
I’m not seeing any change in the theme. I still see the _styled layout being displayed. Is there anything else I need to do?
No, changing the value of the “theme.parent” property in build.xml to “classic” should be enough.
But note that classic theme doesn’t contain files such as custom.css which you could easily replace “to override default styles in one central location for easier upgrade and maintenance”. If you want to save all styles in the classic theme, I see two possibilities:
First approach
Second approach