


Hi there,
We have an annoying problem in which all styles are not being published to the publish instances - It works well on author.
Let me explain it. Our team is working in a brand new website, and in our last release (that we haven't deployed yet because of this problem), we started using AEM Styles, that was introduced in Adobe AEM version 6.3.
We declare a class in a given CSS file and then create a Policy using the template authoring environment. Then, we open some page, click in the component and select the style that was configured.
Everything works fine in the author instance. But the styles are not being published correctly to the publish instance.
We tried everything and it didn't work.
Analysing the problem, the CSS classes are being generated correctly. But the style classes (that are the reference) are not being inserted in the component's HTML class attribute.
We are using AEM 6.4.4, but the problem, as we have tested, happens in version 6.4.0 and 6.4.1 too.
I have compared css files, js files and html/htl files of both instances, and the only difference, as I mentioned above, is in the HTML/HTL output, which are missing the styles classes. CSS and JS have the same in both instances.
Anyone knows a solution for this?
Views
Replies
Sign in to like this content
Total Likes