InfoTemplate title background color

663
1
12-11-2013 01:16 PM
EdwardSohn1
New Contributor
infoTemplate = new esri.InfoTemplate();
infoTemplate.setTitle(infoWTitle);
infoTemplate.setContent(infoWContentTemplate);

where infoWTitle = "${WELLBORE_N}";

How does one set the background color for the InfoTemplate?

Thanks.
0 Kudos
1 Reply
JonathanUihlein
Esri Regular Contributor
The background color for the Popup/infoWindow looks to be set in esri.css.
You should be able to use CSS to change the background color.

Using the color red for this example...

.esriPopup .contentPane {
background-color: #FF0000 !important;
}
.esriPopup .actionsPane {
background-color: #FF0000 !important;
}


There may be an easier way using javascript but this is the CSS way.
0 Kudos