style for selection | Community
Skip to main content
New Participant
October 16, 2015
Solved

style for selection

  • October 16, 2015
  • 12 replies
  • 1531 views

Hi,

Is there a way to set a style on each item of a selection component?

[img]style.png[/img]

The properties style, labelStyle and bodyStyle don't work.

Thanks

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 edubey

yes, you can use 'cls' property, but the it won't add styles on drop down. This class will be added to the parent div of it. So you need to target that particular drop down div.

12 replies

edubey
New Participant
October 16, 2015

might be, as aem does not give any property to color those. But its possible to override default css and write your own as previously I mentioned.

smacdonald2008
New Participant
October 16, 2015

Can you please provide more details - the CQ version and the steps you did to get here so we can attempt to reduplicate. Need to see if there is an issue or bug.