How to set custom styles to experience-fragment component AEM | Community
Skip to main content
Level 2
February 5, 2020
Solved

How to set custom styles to experience-fragment component AEM

  • February 5, 2020
  • 1 reply
  • 2640 views

I'm getting troubles using the experience fragment component.

If I use the default component provided by Adobe, the component works fine but I can't use the Style System, so I decided to build a custom experience fragment that inherit the sling:resourceSuperType from  /libs/cq/experience-fragments/components/experiencefragment, but this component don't allow me to configure it on the page to select a experience fragment variant.

 

My question is, how can I do for fix my issue with this custom component, or if there's a way to set custom styles using the style sistem to the default experience fragment component?

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

1 reply

Level 2
February 6, 2020
Thanks for your answer, but the thing is that style option on the component it's not available, so I don't know how to do to get this works