Select to view content in your preferred language

On Screen widget container moving when browser resized

1769
12
Jump to solution
09-06-2018 01:43 PM
JoelPerkins
Occasional Contributor

Hello. I have an onscreen widget that I am using with the plateau theme and the widgets are stacked top to bottom on the left hand side of the screen. I found out that when I resize the browser window (making it narrower or even reducing the height of the browser) my widget icon/container shoots across to the right side of the screen. In the config.json, I have the position set to 

position: {

     top: 212,

     left: 7,

     relative to: map

}

What else might need to be done to keep the widget from moving clear across the screen when I resize the browser window.

0 Kudos
12 Replies
JoelPerkins
Occasional Contributor

I've attached the config.json. Thanks Robert.

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Joel,

 OK, now I see. You are using the Plateau theme and there is no support for onScreen widgets like you are attempting. The theme is just not designed for this.

JoelPerkins
Occasional Contributor

Good to know, Robert. I'll pick a different theme or just deal with the behavior. I really appreciate it!

0 Kudos