<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Blade Theme Template useless</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=110698197" />
  <subtitle>Blade Theme Template useless</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=110698197</id>
  <updated>2026-04-06T21:49:06Z</updated>
  <dc:date>2026-04-06T21:49:06Z</dc:date>
  <entry>
    <title>RE: Blade Theme Template useless</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111128960" />
    <author>
      <name>Dave Truong</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111128960</id>
    <updated>2018-10-04T02:20:24Z</updated>
    <published>2018-10-04T02:20:24Z</published>
    <summary type="html">&lt;p&gt;Hi guys,&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;What version of blade are you on (blade version)?&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Try upgrading to the latest version (blade update) and it should
  produce a 7.1 compatible theme template.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Dave&lt;/p&gt;</summary>
    <dc:creator>Dave Truong</dc:creator>
    <dc:date>2018-10-04T02:20:24Z</dc:date>
  </entry>
  <entry>
    <title>RE: Blade Theme Template useless</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111126855" />
    <author>
      <name>Jan van der Kaaden</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111126855</id>
    <updated>2018-10-03T18:30:23Z</updated>
    <published>2018-10-03T18:30:23Z</published>
    <summary type="html">&lt;p&gt;Hi Ben, Chris&lt;/p&gt;
&lt;p&gt;I run into the same problem using Gradle but because of your comment
  telling us to grab the latest version i did the same in my
  build.gradle. It fixed the theme and the earlier mentioned version
  problem in the  &lt;em&gt;liferay-look-and-feel.xml. &lt;/em&gt; Just be sure you
  have 'The latest the greatest'  dependencies in your build.gradle. at
  the time of this writing it was:&lt;/p&gt;
&lt;pre&gt;
parentThemes group: &amp;quot;com.liferay&amp;quot;, name: &amp;quot;com.liferay.frontend.theme.styled&amp;quot;, version: &amp;quot;3.0.9&amp;quot;
parentThemes group: &amp;quot;com.liferay&amp;quot;, name: &amp;quot;com.liferay.frontend.theme.unstyled&amp;quot;, version: &amp;quot;3.0.9&amp;quot;

portalCommonCSS group: &amp;quot;com.liferay&amp;quot;, name: &amp;quot;com.liferay.frontend.css.common&amp;quot;, version: &amp;quot;3.0.1&amp;quot;

themeBuilder group: &amp;quot;com.liferay&amp;quot;, name: &amp;quot;com.liferay.portal.tools.theme.builder&amp;quot;, version: &amp;quot;1.1.6&amp;quot;&lt;/pre&gt;
&lt;p&gt;But always check out the maven repo (also for gradle) for the latest releases. &lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Jan&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</summary>
    <dc:creator>Jan van der Kaaden</dc:creator>
    <dc:date>2018-10-03T18:30:23Z</dc:date>
  </entry>
  <entry>
    <title>RE: Blade Theme Template useless</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110831987" />
    <author>
      <name>Ben Collins</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110831987</id>
    <updated>2018-08-29T12:35:05Z</updated>
    <published>2018-08-29T12:35:05Z</published>
    <summary type="html">&lt;p&gt;I've being having the same issue - but have been using the Maven
  archetype and not theme builder - however the issue is the same - the
  compilation of the theme is not bringing in the latest styles/unstyled
  theme resources, but the 7.0 version. I've noticed the key difference
  is that in 7.1 the page will look to load clay.css whereas in 7.0 its
  getting aui.css as the base css. &lt;/p&gt;
&lt;p&gt;So when you build your theme, as its using the old 7.0 theme
  resources, you end up creating and deploying aui.css, not clay.css,
  and as a result the styles you need are not present.&lt;/p&gt;
&lt;p&gt;I got around this by updating my build project to grab the new 7.1
  styled/unstyled resources. Not entirely sure how to do this in theme
  builder but in Maven I had to force it to get the latest version of
  the styled/unstyled resources I wanted in the build - i followed the
  concept here: &lt;a href="https://dev.liferay.com/en/develop/reference/-/knowledge_base/7-1/theme-builder-plugin"&gt;https://dev.liferay.com/en/develop/reference/-/knowledge_base/7-1/theme-builder-plugin&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;A word of warning - once I did this (and got it loading the correct
  styled/unstyled resources) my builds failed as there were SASS errors
  with the styled files. Not sure whther these are of my own making or
  the fact I am using Maven or not. In the end I found to move forward I
  had to apply a number of pacthed versions of the styled scss files to
  get this working.&lt;/p&gt;
&lt;p&gt;Happy to share more information if it'll help.&lt;/p&gt;
&lt;p&gt;I'm still waiting for someone to get the right answer to this....&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</summary>
    <dc:creator>Ben Collins</dc:creator>
    <dc:date>2018-08-29T12:35:05Z</dc:date>
  </entry>
  <entry>
    <title>RE: Blade Theme Template useless</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110719751" />
    <author>
      <name>Chris Friedl</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110719751</id>
    <updated>2018-08-16T14:56:36Z</updated>
    <published>2018-08-16T14:56:36Z</published>
    <summary type="html">&lt;p&gt;Thanks Christoph.&lt;/p&gt;
&lt;p&gt;Good to know, that I am not the only one facing this Problem. &lt;/p&gt;
&lt;p&gt;I will try to play with the versions in the gradle.properties.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Chris&lt;/p&gt;</summary>
    <dc:creator>Chris Friedl</dc:creator>
    <dc:date>2018-08-16T14:56:36Z</dc:date>
  </entry>
  <entry>
    <title>RE: Blade Theme Template useless</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110700593" />
    <author>
      <name>Christoph Rabel</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110700593</id>
    <updated>2018-08-14T10:02:37Z</updated>
    <published>2018-08-14T10:02:37Z</published>
    <summary type="html">&lt;p&gt;Note: I think, you need to add a &amp;quot;-v 7.1&amp;quot; parameter to
  create 7.1 projects:&lt;/p&gt;
&lt;pre&gt;
blade create -v 7.1 -t theme my-vanilla-theme&lt;/pre&gt;
&lt;p&gt;When I last tried that, it still didn't work. The build.gradle
  created using the template referenced the 2.0 themes and build tools.
  IMHO it has to use the 3.0 versions of those modules as a base, e.g:&lt;/p&gt;
&lt;p&gt;compile group: 'com.liferay', name:
  'com.liferay.frontend.theme.unstyled', version: '3.0.5'&lt;/p&gt;
&lt;p&gt;Changing that and adding the xml still didn't work for me. But maybe
  something has changed, I tried it a couple of weeks ago. I don't
  remember the problem, but I gave up there, since I was just playing
  around and actually don't use 7.1 currently.&lt;/p&gt;</summary>
    <dc:creator>Christoph Rabel</dc:creator>
    <dc:date>2018-08-14T10:02:37Z</dc:date>
  </entry>
  <entry>
    <title>Blade Theme Template useless</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110698196" />
    <author>
      <name>Chris Friedl</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110698196</id>
    <updated>2018-08-14T08:45:21Z</updated>
    <published>2018-08-14T08:45:21Z</published>
    <summary type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am using LR 7.1.0 and blade cli 3.1.1&lt;/p&gt;
&lt;p&gt;After creating a theme with&amp;nbsp;&lt;/p&gt;
&lt;pre&gt;
blade create -t theme my-vanilla-theme&lt;/pre&gt;
&lt;p&gt;and deploying it&lt;/p&gt;
&lt;pre&gt;
blade gw build deploy&lt;/pre&gt;
&lt;p&gt;I get the error:&lt;/p&gt;
&lt;div class="portlet-msg-error"&gt;Themes in this WAR are not compatible
  with Liferay Community Edition Portal / 7.1.0&lt;/div&gt;
&lt;p&gt;So I found this issue ticket:&lt;/p&gt;
&lt;p&gt;
  &lt;a href="https://issues.liferay.com/browse/LPS-79353"&gt;https://issues.liferay.com/browse/LPS-79353&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;It is suggested to set the &lt;strong&gt;version in&amp;nbsp;&lt;/strong&gt;
  &lt;u&gt;
    &lt;em&gt;liferay-look-and-feel.xml &lt;/em&gt;&lt;/u&gt;
  &lt;strong&gt;to 7.1.0+&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Unfortunately the blade theme template does not create this file at
  all. So I took the file from the build folder and edited it&lt;/p&gt;
&lt;pre&gt;
&amp;lt;look-and-feel&amp;gt;
    &amp;lt;compatibility&amp;gt;
        &amp;lt;version&amp;gt;&lt;strong&gt;7.1.0+&lt;/strong&gt;&amp;lt;/version&amp;gt;
    &amp;lt;/compatibility&amp;gt;
    &amp;lt;theme id="my-vanilla-theme" name="my vanilla theme"&amp;gt;
        &amp;lt;template-extension&amp;gt;ftl&amp;lt;/template-extension&amp;gt;
    &amp;lt;/theme&amp;gt;
&amp;lt;/look-and-feel&amp;gt;&lt;/pre&gt;
&lt;p&gt;and put it to&lt;/p&gt;
&lt;p&gt;
  &lt;code&gt;my-vanilla-theme/src/main/webapp/WEB-INF&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Now the template deploys without error.&lt;/p&gt;
&lt;p&gt;BUT, using the template makes the LR portal&amp;nbsp;completely useless
  because the whole &lt;strong&gt;styling and layout&amp;nbsp;is messed up&lt;/strong&gt;.
  There are huge icons. See the attachment...&lt;/p&gt;
&lt;p&gt;
  &lt;strong&gt;What do I need to do to get a new, simple, functional template?&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;I would have hoped, that the theme template is at least as styled as
  the default theme of the liferay portal.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Chris&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</summary>
    <dc:creator>Chris Friedl</dc:creator>
    <dc:date>2018-08-14T08:45:21Z</dc:date>
  </entry>
</feed>
