Title: Margin &#8211; Device Notch
Last modified: August 3, 2023

---

# Margin – Device Notch

 *  Resolved [jack5496](https://wordpress.org/support/users/jack5496/)
 * (@jack5496)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/margin-device-notch/)
 * I can add an iFrame in the device Wrapper but the content goes over the notch.
   How can i add a small margin or enable, that the content is not over the notch?

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Bogdan Bendziukov](https://wordpress.org/support/users/barb0ss/)
 * (@barb0ss)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/margin-device-notch/#post-16943982)
 * Hello [@jack5496](https://wordpress.org/support/users/jack5496/) !
   In your case
   I can suggest to options: either select a device without a notch or you should
   apply custom styles to the device, so the iframe won’t be covered by the notch.
 * If you provide me a link to your page with the Device, I can help you to apply
   custom styles.
 *  Thread Starter [jack5496](https://wordpress.org/support/users/jack5496/)
 * (@jack5496)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/margin-device-notch/#post-16945904)
 * Is it possible to simulate a larger content in the phone, so that the content
   is scaled down?
 *  Plugin Author [Bogdan Bendziukov](https://wordpress.org/support/users/barb0ss/)
 * (@barb0ss)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/margin-device-notch/#post-16946748)
 * You can use the attribute `fit` for that:
 * `fit` – how the content should fit into the device (defaults to `cover`). Available
   options are:
    - `cover` – cover the device’s screen;
    - `overflow` – keep original sizes of the content, if the are bigger than screen
      size – the content will overflow the screen with the ability to scroll it;
    - `overflow-x` – fit content by height, overflow by X axis;
    - `overflow-y` – fit content by width, overflow by Y axis;
    - `contain` – fit completely on the screen of the device.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Margin – Device Notch’ is closed to new replies.

 * ![](https://ps.w.org/device-wrapper/assets/icon.svg?rev=2904021)
 * [Device Wrapper](https://wordpress.org/plugins/device-wrapper/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/device-wrapper/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/device-wrapper/)
 * [Active Topics](https://wordpress.org/support/plugin/device-wrapper/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/device-wrapper/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/device-wrapper/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Bogdan Bendziukov](https://wordpress.org/support/users/barb0ss/)
 * Last activity: [2 years, 10 months ago](https://wordpress.org/support/topic/margin-device-notch/#post-16946748)
 * Status: resolved