create. something

Custom code in Webflow

There are a number of ways to add custom code in a Webflow project.

We can add custom code site-wide in our project settings (e.g. the Google Analytics code) and we can add an embed to our template pages (e.g. for all of our blog posts).

But, what if we want to add an embed to a single blog post, like an embedded tweet or our favorite Soundcloud song?

We can do that in 6 steps:

1. Open a Collection item with a Rich text field

2. Press Enter to see the Rich text field options

3. Select the custom code option

4. Paste in your embed

5. Save and close

6. Publish your project to see your embed on your live site

And, this is great when we want to add custom code for one specific Collection item, like a blog post or product.

Learn more:

Get started with Webflow: