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

Avatar

Avatar

alexandriths

Avatar

alexandriths

alexandriths

10-05-2019

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

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

Arun_Patidar

MVP

Total Posts

3.0K

Likes

1.1K

Correct Reply

840

Avatar

Arun_Patidar

MVP

Total Posts

3.0K

Likes

1.1K

Correct Reply

840
Arun_Patidar
MVP

10-05-2019

use granite:class property instead of cssClass

Common Attributes — Granite UI 1.0 documentation

Answers (0)