header-logo
Getting started with WixBuild your website and business with Wix. Try using our AI tools to create your website, customize templates, or hire professionals to build or enhance your online presence.
Creating a websiteRead how to use the Wix Editor and manage content on your site. Discover how to protect your visitors' privacy and make your site accessible.
Account & billingReview your account settings, manage your subscriptions and plans and understand your invoices.
Using the Wix mobile appsUse our mobile apps to run your business efficiently on the go and set up a dedicated app for your site members to stay in touch.
Connecting a domainFollow our step-by step guides to learn how to purchase, connect or transfer a domain for your site, and find out how to keep your site’s data secure.
Managing your businessGet tools to grow your business and web presence. Find the right tools for your specific needs, set up online payments and keep track of your site's analytics.
Promoting your siteLearn to make your site more visible promoting it on search engines, sending emails and running paid ads. Improve your online presence with practical tips.
Studio, Partners & EnterpriseGet the most out of your Studio or Enterprise account with advanced features that'll help you work more efficiently.
Need more help?Find solutions for site performance and technical issues, learn about issues we’re working to fix or contact us for help.
placeholder-preview-image
Wix LearnImprove your skills with our courses and tutorials.
Wix BlogGet tips for web design, marketing and more.
SEO Learning HubLearn to increase organic site traffic from search engines.
Website developmentBuild a custom site using our full-stack platform.
Hire a ProfessionalGet matched with a specialist to help you reach your goals.
placeholder-preview-image
In this article
  • Adding mobile friendly code to your mobile site
  • Troubleshooting HTML code element issues on mobile

Wix Editor: HTML Code on Mobile

In this article
  • Adding mobile friendly code to your mobile site
  • Troubleshooting HTML code element issues on mobile
Add code to display external widgets and embeds on your site, such as weather apps, stocks, or calendars.
You can add HTML code to your site in the mobile editor, or from the desktop editor

Adding mobile friendly code to your mobile site

You can add HTML code to your mobile site from the add panel. This is a great way to draw attention to mobile friendly widgets and embeds on your site. 
Elements added from the mobile editor are mobile-only, meaning they're not displayed on the desktop version of your site.

To add mobile-only code:

  1. Click Add on the left side your mobile editor.
  2. Click Embed Code.
  3. Select Embed a site / Embed HTML to add an iFrame to your page.
  4. Click Enter Code / Enter Website Address.
  5. Type or paste your HTML code or URL into the field.
  6. Click Apply.
Site embed settings panel in the mobile Editor.

Troubleshooting HTML code element issues on mobile

You may come across issues when displaying HTML code that you added from the desktop editor on your mobile site.
Click an option below to learn more.
We recommend hiding the desktop code, and adding a mobile friendly alternative to your mobile site to avoid these issues. 
Note:
You cannot edit the code inside a desktop HTML element in the mobile editor. 
Important:
Wix does not provide support for technical difficulties associated with third-party code snippets. If you are experiencing an issue with your code snippet, please contact the provider directly. 

Helpmate

Hello

Need a bit more guidance?
Unlock personalized helpLog in to get the most out of Helpmate.