Skip to main content
alexandriths
May 10, 2019
Répondu

Add Custom CSS Classes To AEM Touch UI Dialogs? (AEM 6.4)

Hello Adobe Community,

I have a checkbox dialog for one of my components, and I would like to add a custom CSS class to the dialog, but through the XML of the dialog itself.

Is this possible?

Basically I'm aiming for something like this:

```

<questionCheckbox

  jcr:primaryType="nt:unstructured"

  sling:resourceType="granite/ui/components/coral/foundation/form/checkbox"

  fieldDescription="Check this box for a custom option"

  name="./questioncheckbox"

  text="Use Old Navigation?"

  cssClass="customCheckbox"

  value="true"

  />

```

Any guidance would be appreciated.

Thanks,

Alex

Ce sujet a été fermé aux réponses.
Meilleure réponse par arunpatidar

use granite:class property instead of cssClass

Common Attributes — Granite UI 1.0 documentation

1 commentaire

arunpatidar
Community Advisor
arunpatidarCommunity AdvisorRéponse
Community Advisor
May 11, 2019

use granite:class property instead of cssClass

Common Attributes — Granite UI 1.0 documentation

Arun Patidar