This guide shows how to add a Webflow weather widget in about a minute, with no app: you paste one snippet into a Code Embed element inside a global component, because local conditions are a glanceable sidebar item, not a content block. Nothing to install. Webflow renders raw HTML and script tags inside a Code Embed element, so no third-party app sits between you and the widget.
What this Webflow weather widget shows
The weather widget shows current conditions, temperature and the day's high and low for a location you choose, using data from Open-Meteo. It's handy for businesses where the weather changes plans: outdoor venues, tour operators, ski schools, garden centres, campsites and local news sites.
How to add a weather widget to Webflow
- Step 1
- In the Designer, open the component you reuse site-wide — usually your Footer or Navbar component.
- Step 2
- Click Add (+) → Code Embed and drop it inside that component.
- Step 3
- Paste the snippet into the code editor and click Save & Close.
- Step 4
- Because it lives in a component, every page that uses the component gets the widget. Publish to go live.
- On a free webflow.io staging site?
- Webflow layouts have no fixed sidebar, so a narrow Code Embed inside a reused component is the equivalent. For one page only, drop the embed straight onto that page instead of the component.
Where it works best on a Webflow site
On Webflow, the right spot is a Code Embed element inside a global component. Weather is a glance-and-go detail, so a sidebar or a small spot near your opening hours or booking button works better than a big block in the content. Set it to the location of your business, not the visitor's.
Webflow plan and editor requirements
Webflow's Code Embed element and its site-wide and page-level custom code fields only run on a paid Site plan or a paid Workspace. On a free webflow.io staging site the fields are visible but the code doesn't run on the published page, which looks exactly like a broken snippet. Custom code also doesn't run inside the Designer, so always test on the published site.
Three things that trip people up on Webflow
- Custom code fields need a paid plan
- Site settings → Custom code and the page-level code fields are gated behind a paid Site plan or a paid Workspace. On a free webflow.io staging project they're visible but inert, which looks exactly like a broken snippet. The Code Embed element has no such gate, so free projects are not locked out — put the snippet on the canvas instead.
- The Designer never runs your code
- A Code Embed shows a grey placeholder in the Designer, and site-level code doesn't execute on the canvas at all. Preview is unreliable for third-party scripts too. Publish, then check the live domain in a normal tab. Most 'the widget doesn't work on Webflow' reports are an unpublished change.
- Don't add a second jQuery, and watch the 50k cap
- Webflow already loads its own jQuery; importing another version breaks interactions site-wide. Our snippet has no jQuery dependency, so nothing to do here — but if you're pasting several third-party tags, that's the usual culprit. Each code field also caps at 50,000 characters; past that, host the file externally and link it.
Honest limits
It shows current conditions and today's range, not a detailed multi-day forecast. For safety-critical decisions, visitors should check an official weather service.
Webflow questions
- Do I need an app to add a weather widget to Webflow?
- Nothing to install. Webflow renders raw HTML and script tags inside a Code Embed element, so no third-party app sits between you and the widget. Installing an app for this would mean another dependency and update cycle just to show one widget.
- Where exactly does the snippet go on Webflow?
- A Code Embed element inside a global component, because local conditions are a glanceable sidebar item, not a content block.
- Will it slow my Webflow site down?
- It adds one small script, loaded asynchronously, so it doesn't block your page from rendering. Any third-party script has some cost, so check your page speed before and after adding it. Webflow serves your site from its own CDN and the snippet is a single async tag, so it loads beside your content rather than in front of it. Put JavaScript in Footer code rather than Head code when you don't need it early — Webflow recommends the same thing. Nothing to purge; publishing replaces the page.
- Does it work with page builders like Webflow Designer?
- Webflow Designer: Add (+) → Code Embed. Page settings: paste inside the <head> tag or before </body> for one page. Site settings: Custom code → Head or Footer for every page. CMS Collection templates: drop a Code Embed into the template. Any builder with a raw-HTML or code block will render it.
- Do I need a weather API key?
- No. The widget uses Open-Meteo's free weather data through FeedPulse, so there's no key to create or manage.