Webflow sync, pageviews & more.
NEW
Answers

Can Webflow be used to call a CSS or JS file stored on a different server, instead of hosting them on GitHub?

Yes, Webflow allows you to call CSS and JS files that are stored on a different server, rather than hosting them on GitHub. This can be useful when you have external scripts or stylesheets that you'd like to include in your Webflow project.

To include external CSS or JS files in your Webflow project, you can follow these steps:

1. Find the URL of the CSS or JS file that you want to include. This could be hosted on your own server, a different hosting provider, or even a CDN.

2. In the Webflow Designer, navigate to the Project Settings by clicking on the gear icon in the left sidebar.

3. Within the Project Settings, go to the Custom Code tab.

4. Scroll down to the Footer Code section. This section allows you to add custom code that will be included just before the closing `` tag on every page of your site.

5. To include an external CSS file, you can add a `` tag within the Footer Code section. For example:

```html

\`\`\`

Replace `https://your-external-server.com/path/to/your-stylesheet.css` with the actual URL of the CSS file you want to include.

6. To include an external JS file, you can add a `

```

Replace `https://your-external-server.com/path/to/your-script.js` with the actual URL of the JS file you want to include.

7. Save your changes, and the CSS or JS file will be included in your Webflow project.

By utilizing this method, you can easily call CSS and JS files stored on a different server and integrate them into your Webflow project. This flexibility allows you to leverage external resources and libraries while still using Webflow's visual design and interactions capabilities.

Rate this answer

Other Webflow Questions