![open the viewport screen in ncplot open the viewport screen in ncplot](https://dev.opera.com/articles/an-introduction-to-meta-viewport-and-viewport/media-queries.jpg)
(Optional) Select the operating system of the device. Specify the screen size of the mobile device, both width and height. The name can be up to 36 characters long. Give your mobile viewport a descriptive name that is easy to recognize. To change the configuration of an existing mobile viewport, select that viewport, then click the Edit (pencil) icon. In the Mobile viewports configuration section, click Add. Mobile viewport configurationĬonfigure mobile viewports you want to make available while creating your experiences.Ĭlick Administration > Visual Experience Composer. Currently, Target does not support viewport-specific page changes.
![open the viewport screen in ncplot open the viewport screen in ncplot](https://www.freecodecamp.org/news/content/images/2021/09/Screen-Shot-2021-09-15-at-7.46.38-AM.png)
Similarly, editing an experience in the normal desktop view changes the page for all screen sizes, not just the desktop view. However, these changes apply to all viewports and devices, not just the viewport that you’re working in. You can edit an experience from within mobile viewports. If your site is not responsive, use the Mobile Web Composer to view a site if your activity is targeted to a specific device. Open the view for each screen size by clicking that viewport along the top of the display. Each of these experiences displays in a mobile viewport in the Target interface. Save your CSS breakpoints in Target so you can preview your experiences for each view you define. CSS breakpoints are also called media queries. CSS breakpoints are points where website content responds depending on device width to display the optimal layout to visitors. Those screen sizes that trigger the new views are known as CSS breakpoints. Instead, use mobile viewports to preview the activity on each screen size.įor responsive sites, typically your site is designed to open in a different view when accessed by a device with a specific screen size. To run an activity across your entire digital experience to ensure it looks good across all devices, don’t apply targeting. Use the Mobile Web Composer to edit the page in the activity for that device. To deliver an activity to visitors on a particular device, choose the appropriate audience for that device in the activity diagram. Consult the device maker’s website for the most accurate, up-to-date information. Various websites list viewport sizes for popular devices.