LORD OF THE WIX

Wix Editor: Adding Embeds and Custom Elements to Your Mobile Site

Lord Of The Wix · Oct 25, 2026

Use embeds and custom elements to display content such as external URLs, widgets, and animation on your site.


Embeds carried over from your desktop site


Custom elements and embeds that you have added to your desktop site may be displayed differently on your mobile site.


This is because certain iFrames are designed for specific screen sizes, and may not fit or align correctly on mobile devices.


If your element isn't displayed properly on the mobile version of your site, we recommend hiding the desktop version, and re-adding a mobile-friendly alternative from the Add panel in the mobile editor (see below).


Adding embeds and custom elements to your mobile site


Add an embed, widget, or custom element to your mobile site to display relevant, fun, or interesting content. You can use them to add apps, sites, and even animations to your site.


Important:


Elements added from the mobile editor are mobile-only. This means they are not displayed on the desktop version of your site.


The Embed Code tab in the mobile editor add panel.

To add an embed or custom element to your mobile site:


  1. Click Add

    Wix Editor: Adding Embeds and Custom Elements to Your Mobile Site

    on the left side of your mobile editor.

  2. Click Embed Code.

  3. Click the relevant element to add it to your page:

    • Embed HTML: Enter code from external servers to display widget and apps on your mobile site.

    • Embed a site: Paste or type a URL to display external websites on your page.

    • Custom element: Display whatever you would like on your site using snippets of code.

  4. Enter the relevant details for your widget.


Note:


If you are adding a custom element to your site, you must choose a source. You may also be able to add attributes to your element.


Important information about iFrames


When embedding code or a URL in an iFrame, keep the following guidelines in mind to ensure they are displayed properly on your site.



Important information about custom elements


For security reasons, the custom element is rendered inside an iFrame inside the editor and in Preview mode.


This might affect the layout of the component, so we recommend going to your published site to see how it is displayed on your live site. You can also use Release Candidates as a live site preview.



This article is credited to the Wix team - https://support.wix.com/ and we thank them for that!

More PostsLet's Talk

Need A Professional Website?
Contact Us Today!