AnsweredAssumed Answered

Dojo ComboBox- only make part of menu text appear bold

Question asked by stefancoe on Sep 9, 2014
Latest reply on Sep 10, 2014 by stefancoe

Say I have the following text in a ComboBox:

 

Sponsor: Project Title

 

Is it possible to just make Sponsor: bold? I can make the whole thing bold by adding the following to the CSS:

 

.dijitMenuItem {

        font-weight: bold;

      }

 

But not sure how I would do it for only part of the text. If it's any help, The two pieces of text can come from two different fields in a feature layer. I am using a Query/QueryTask to populate the ComboBox.  Thanks for any help!

 

Here is a link to the actual site:

http://webmap.psrc.org/Transportation/2015-2018TIP.html

Outcomes