Custom Code cannot exceed 10000 characters - Need help - Stuck

Hey guys,

I’m trying to embed an HTML file, but it exceeds 10,000 characters.

I’ve been trying to follow this tutorial but it doesn’t seem like it’s working for me. (read-only bellow)
š

Maybe I’m doing something wrong?

I’m a total noob in custom code, so any help would be highly appreciated.

Thanks, guys! :blush:


Here is my site Read-Only: https://preview.webflow.com/preview/telos-website?utm_medium=preview_link&utm_source=designer&utm_content=telos-website&preview=c86ca5c936811064b6d18c778447b662&pageId=60d4547119f838df096c9405&workflow=preview
(how to share your site Read-Only link)

Did you figure out a solution to this? I am having the same issue when importing code from codepen. read another thread about turning it into a text asset to be uploaded and using the CDN URI for an src script? and add that to the head before body? even though its the html part… again I have no clue how to get that in the first place… someone help

Loading external JS can be done as indicated in the post linked by the original poster. HTML would require using AJAX. CSS would need to be loaded as an separate file. Webflow loads HTML so base rules apply as they would on any page.

Hi @webdev, can you help me with embed Css.
At the moment, my company wants to move our blog to Webflow blog plan, we’re able to import csv for all articles, but now problem is the design. We want to design exactly the same as the present blog.
I try to upload the css file to webflow but the characters are too large. How can I uploading css file? Is there any video instruction step by step because I’m not IT based so it’s quite hard to follow all what you said?
Please help me…

@ihcney - Webflow uses external assets on webflow.com and does so by adding the files (.css or .js) to a GitHub repository (create a free account or use existing). Then they get a URL for that asset from jsDelivr, which allows you to mirror assets from GitHub and serves them up via a free CDN. That is also the approach I use. My company offers IT services like this so If you want help that is something we can arrange.

1 Like

Hi all,
I am planning to solve this problem of 10000 character limit by building a script/external file manager for webflow. Thinking of following features:

  • Multiple file type support - svg,css,js,html
  • CDN and file caching for better performance.

Would love to hear from you if you have more suggestions. You can reach out to me at himanshusaleria[at]gmail.com or twitter: himanshusaleria