Select to view content in your preferred language

Changing font color of scale bar widget

2735
2
06-22-2011 03:09 PM
EricBregant1
Emerging Contributor
Does anyone have any suggestions on how I could change the font color of the scale bar widget? Its "default" gray color is not doing it for me! All I can get it to do is have a backgroud. I need to change the actual font color. Thanks for any help.

Eric 🙂
0 Kudos
2 Replies
JianHuang
Deactivated User
You can change the font color with the CSS like:

<style>
.esriScalebarLabel
{
color:red !important;
}
</style>
0 Kudos
EricBregant1
Emerging Contributor
Thanks Jian! You saved the day!
0 Kudos