let's asume I have to different Layers in a WebApp built by ArcGis WebAppBuilder. Now I can style the popup style and size by css. But how could I achieve two different sized popups, one for each layer? The point is Layer 1 contains a lot of information and Layer 2 doesn't. When I define a popup with 500px*500px(via CSS) it perfectly suits Layer A . But for Layer 2, there is too much empty space.

1 Answer 1


Depending upon layer, dynamically you can change the size of popup using JavaScript and CSS. For more info you can refer below links

Custom Popup Guide

ESRI Js API custom popup sandbox example

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.