in aem-core-wcm-components 2.0.0, I don't understand where is 'cssClassName' had been defined.
Please help me check it. Thanks!
Ultimately the method getCssClassNames() of ComponentContext is called: aem-core-wcm-components/PageImpl.java at master · Adobe-Marketing-Cloud/aem-core-wcm-components · Gi... .
This is an internal api, but has some logic built in to inspect the component and add classes based on the name of the component and any any responsive grid integration. This method also integrates the Style System in AEM 6.3 /6.4: Style System . You can use the style system at the Page level by editing an Editable Template > Template Properties > Page Design.
<!-- result below -->
<body class="page basicpage home-page">
Great response Daniel - we marked that as corrrect!
I'm trying to do the same you explain on AEM 6.5 but I don't see the "Page Design". Any advice on how to accomplish the same?
The response is helpful for me.
Thank Daniel and Scott Macdonald!