Different colored font in a drop-down box | XM Community
Skip to main content

Hello,
I was able to use CSS to change the color of text in a drop-down box but it's not appearing differentiated by color when I preview or publish the item. Does anyone know a workaround for this issue? Thank you, in advance!
I used the following CSS:
English Courses
image.png

Dropdown options are parsed differently. Add this CSS to your question HTML to change its style. You'll have to change the number based on your setup.


Ahmed,

Thank you!!! I was able to add colored indicators as needed in the (nth) spaces. Thank you SO much! It looks perfect!

image.png


Leave a Reply