Select to view content in your preferred language

changing the background color of a popup

907
2
08-21-2022 06:09 AM
GuyShaharabani
Emerging Contributor

Hi!

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

 

0 Kudos
2 Replies
Vakhtang_Zubiashvili
Frequent Contributor

Hi,

 

try this:

 

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

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

 

RobertCottreau13
Occasional Contributor

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

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

etc.

0 Kudos