I am trying to scale text to any layout with Typetura, however it’s a bit unclear to me how I’m supposed to incorporate it in the custom code. Can somebody please help?
1 Like
Hi Ana,
You should be able to get it to work using the following steps:
- Upload typetura.js somewhere you can link to it
- Open your Webflow project
- Open the page you want to add your React component to
- Click the gear icon
- Find the Inside <head> tag section and paste the following script tags to load React and React DOM:
<script>
window.typetura = {
selectors: [
// list of selectors to be used as contexts
“.typetura”,
“main”,
“article”,
“section”
],
};
</script>
<script src=“link/to/typetura.js”></script>
Now you can write Typetura CSS in your project.
Hopefully Webflow enables 3rd party plugins to make this easier, or works to integrate Typetura into their platform.
1 Like