Add the Moon Phase widget to your Wix site
Real-time moon phase display with illumination percentage, shown as seen from the northern or southern hemisphere. Calculated on the fly, no external service required. Works on every Wix site, free ones included, with the Embed HTML block. Premium sites can use a Custom Element for a tighter fit.
Sample content — yours appears as soon as you configure it.
How to add Moon Phase to Wix
Three steps, a few minutes.
-
1
Create a free account with your Wix address
Use the address visitors see: your own domain, or yourname.wixsite.com for a free site (without the /site-name part).
-
2
Add Moon Phase and copy its code
Pick it in the Widget Gallery, set it up with the live preview, and copy the embed code.
-
3
Paste it in an Embed HTML block
In the Wix editor choose Add Elements (+) → Embed Code → Embed HTML, pick Code, paste and apply. Drag the block until the whole widget fits, then publish.
<!-- 1. Load the myNaturevista loader once per page -->
<script src="https://mynaturevista.com/w.js"></script>
<!-- 2. Place the widget wherever it should appear -->
<div data-menv-widget="moon-phase"
data-menv-key="YOUR_API_KEY"
data-menv-instance="YOUR_INSTANCE_ID"></div>
Moon Phase on Wix: what to expect
- Embed HTML keeps the size you give it: Wix does not let the widget grow the block, so make it tall enough for the widget.
- On a Premium site with your own domain you can use Add Elements → Embed Code → Custom Element instead: Server URL https://mynaturevista.com/w.js, tag name menv-widget, and the attributes widget, key and instance from your embed code. A Custom Element sizes itself.
Moon Phase for Wix: frequently asked questions
Does Moon Phase work on a free Wix site?
Yes. Register yourname.wixsite.com as your domain and use the Embed HTML block. Free Wix sites do not offer the Custom Element block, but Embed HTML does the job.
Why is the widget blank in the Wix editor?
The editor's preview does not always run embedded code. Publish the site and open the live page.
Why is the widget cut off?
An Embed HTML block has a fixed size in Wix. Drag its handles until the whole widget is visible, on desktop and in the mobile editor.
Embed HTML or Custom Element?
Embed HTML works everywhere. Custom Element needs a Premium site with a connected domain, and in exchange the widget sets its own height and can open full-screen layers.
Is Moon Phase free?
Yes. Moon Phase is included in every plan, the Free one too: three live widgets and 1,000 views a month, with a small "Powered by myNaturevista" mark. Paid plans remove the mark and raise the limits.
Moon Phase on other platforms
More widgets for Wix
Every widget uses the same loader, so a second one is one more line.
Nature Explorer
Interactive nature and travel widget with countries, places and maps.
Nature Explorer for WixWeather
Current conditions and 7-day forecast for any location.
Weather for WixSunrise & Sunset
Daily sunrise, sunset and golden hour times for any location.
Sunrise & Sunset for WixAir Quality
Real-time AQI and pollution index for any city.
Air Quality for WixAdd Moon Phase to Wix today
Free plan: three live widgets, 1,000 views a month, no card needed.
