Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Who Me Too'd this topic


Level 3

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?

Who Me Too'd this topic