Select to view content in your preferred language

changing the background color of a popup

788
2
08-21-2022 06:09 AM
GuyShaharabani
New Contributor III

Hi!

is it possible to change the background color of a popup?

 

0 Kudos
2 Replies
Vakhtang_Zubiashvili
Occasional Contributor III

Hi,

 

try this:

 

/* Border background*/
.esri-popup__main-container {
  background-color: aqua !important;
}

/*Elements (fields) background*/
.esri-feature__content-element {
  background-color: blanchedalmond;
}

 

RobertCottreau13
New Contributor II

can the background colour be set based on the value in a column.

if (column value = x) then background colour = yellow

etc.

0 Kudos