style for selection | Community
Skip to main content
Level 4
October 16, 2015
Solved

style for selection

  • October 16, 2015
  • 12 replies
  • 1540 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
Level 10
October 16, 2015
Thanks for clearing.... #CQ x-combo-list-item {color:red !important;} Place above css in you client lib which gets loaded in edit mode      
edubey
Level 10
October 16, 2015
Correct me if I am wrong....you want to apply color to the drop down items in style. Its possible , but then you have override the default behavior and apply your custom behavior in richtext files....