Viewports settings | WordPress.org

[ad_1]

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

viewport-02

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.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer