Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.

need to write slightly AEM code for grid component, when we select divider as option a vertical line should be added in between the grids

Avatar

Level 1

need to write slightly AEM code for grid component, it has two options one is default and other one is separator, when we select separator as option a vertical line should be added in between the grids

 

 when we select default:

tejuuu123_0-1710341298714.png

when we select separator:

tejuuu123_1-1710341435480.png

Can someone please help me ?

2 Replies

Avatar

Level 8

Hi @tejuuu123 

 

You need to use style policy. Add 2 styles. 1: Default-option, 2: Separator.  Set Default option as the default selection. if Author selects the separator style, then modify the html file as per your requirement.

https://experienceleague.adobe.com/docs/experience-manager-65/content/sites/authoring/siteandpage/st... 

https://www.youtube.com/watch?v=T7MHJdA1e80 

 

Avatar

Level 1

Hi,

 

I have own style system , here my requirement is to write slightly condition and iterate.