Accepted Solutions (1)

Accepted Solutions (1)



Ultimately the method getCssClassNames() of ComponentContext is called: aem-core-wcm-components/ 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.

2018-04-13 at 3.52 PM.png

2018-04-13 at 3.53 PM.png

2018-04-13 at 3.55 PM.png

<!-- result below -->

<body class="page basicpage home-page">