Add Custom CSS Classes To AEM Touch UI Dialogs? (AEM 6.4) | Community
Skip to main content
alexandriths
May 10, 2019
Solved

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

  • May 10, 2019
  • 1 reply
  • 7362 views

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by arunpatidar

use granite:class property instead of cssClass

Common Attributes — Granite UI 1.0 documentation

1 reply

arunpatidar
Community Advisor
arunpatidarCommunity AdvisorAccepted solution
Community Advisor
May 11, 2019

use granite:class property instead of cssClass

Common Attributes — Granite UI 1.0 documentation

Arun Patidar