Reuse custom code

I have some custom css that I use on a few pages (but not all pages) on my site. Is there a way to have 1 master script, and then just link to it from the pages that need it? At the moment, if the code changes, I have to make the code change on 6 different pages.

Hi @khs123

Take a look at this: Components - Webflow University Documentation
You can then simply add the component with the Custom Code in it to the desired pages :slight_smile:

Thanks @Leon_Servais - I didn’t realise you could save the html embed as a component. Works perfectly.

1 Like