I made a new Viewport named Test and min width 1280 px.
https://ibb.co/fFk4587
In the block I set the following code:
[ADINSERTER VIEWPORT="Test"]
Test
https://ibb.co/wBq8Wmg
When the Preview button is pressed with a screen resolution of 1280 or more, Test is output as it should be.
When I press the Preview button at a screen resolution less than the minimum 1280, Test is still output, although it shouldn’t be. Does this mean that the new Viewport is not working properly, or am I doing something wrong?
Hello,
the last viewport is the smallest viewport (usually phone) which has by default min width 0.
Your settings are ok. This is a typical setting for wide desktop.
Preview window shows only the preview of the code, device settings are not used.