Select to view content in your preferred language

widget opacity

1165
2
Jump to solution
06-21-2017 03:34 PM
JimNoel
Occasional Contributor

I would like to make a widget - such as LayerList or Legend - partly transparent.  Is there a way to do this in API 4.3?

0 Kudos
1 Solution

Accepted Solutions
ThomasSolow
Frequent Contributor

My bet is that the best way to do this is with CSS.  Figure out the classes of the elements you want to be transparent (right click + inspect element) and set the opacity of those elements with a CSS rule.

View solution in original post

2 Replies
ThomasSolow
Frequent Contributor

My bet is that the best way to do this is with CSS.  Figure out the classes of the elements you want to be transparent (right click + inspect element) and set the opacity of those elements with a CSS rule.

JimNoel
Occasional Contributor

Thanks!  I was thinking of doing it through CSS, but was having trouble figuring out the class name.  I didn't know about right click + inspect.  That's a great trick, much appreciated!

0 Kudos