Populate custom css for touch-ui dialogs | Community
Skip to main content
Magicr
Level 6
September 8, 2022
Solved

Populate custom css for touch-ui dialogs

  • September 8, 2022
  • 2 replies
  • 1282 views

Hello,

 

I found here following post: Solved: Add Custom CSS Classes To AEM Touch UI Dialogs? (A... - Adobe Experience League Community - 320333

Because I've never done it before, I don't know how and where can I populate my css declarations. The above answer does not explain this.

 

Thanks in advanced

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 milind_bachani

Using the above blog you can add customClass to fields.

 

Now to have your css delcarations you need to have a clientlib folder where you can have your custom css/js files included.
You can refer : https://experienceleague.adobe.com/docs/experience-manager-65/developing/introduction/clientlibs.html?lang=en


A video reference : https://www.youtube.com/watch?v=7KiBeuiUCoI&t=138s

 

Hope this helps!

2 replies

milind_bachani
Adobe Employee
milind_bachaniAdobe EmployeeAccepted solution
Adobe Employee
September 8, 2022

Using the above blog you can add customClass to fields.

 

Now to have your css delcarations you need to have a clientlib folder where you can have your custom css/js files included.
You can refer : https://experienceleague.adobe.com/docs/experience-manager-65/developing/introduction/clientlibs.html?lang=en


A video reference : https://www.youtube.com/watch?v=7KiBeuiUCoI&t=138s

 

Hope this helps!

Magicr
MagicrAuthor
Level 6
September 9, 2022

Thanks for your answer,

 

The referered link in my question shows a structure of an xml file. You can see my question as an extension from refered link

arunpatidar
Community Advisor
Community Advisor
September 8, 2022

you can create clientlibs and load in a dialog using extraClientlibs

 

@2542150 {String[]} [extraClientlibs] The additional clientlibs to be included on top of the ones specified at clientlibs property

 

 

 

Arun Patidar
Magicr
MagicrAuthor
Level 6
September 9, 2022

Thanks for your answer,

 

The referered link in my question shows a structure of an xml file. You can see my question as an extension from refered link.