separate themes for popups

304
1
08-10-2020 05:50 AM
TilovonCrite
New Contributor II

I was wondering if it was possible to have multiple themes for popups? For example having a warning theme where the background was red, but only for a specific feature layer. Whereas, all other feature layers have a background of a different color.

Tags (1)
0 Kudos
1 Reply
TilovonCrite
New Contributor II

Ok, I worked around this issue by using a combo of javascript and css. Added a css variable for the popup background color, which I modify in javascript depending on which feature layer's popup is being displayed.

0 Kudos