I’m trying to install a widget on a specific page on our site, the widget is from
owenscorning/en-us/roofing/widgets
I followed the instructions by adding custom code the to the bottom of the body
Then went onto my site and tried adding the code in dev mode:
But nothing is happening, can someone help?
Thanks
I think the whole code is wrong. Can you post the whole code?
Also, HTML code is not used on Velo Dev mode code panel. Please use HTML embed element (no need dev mode)
I can’t post the link but it’s ‘owens corning widgets’
<script src="--------------owenscornin/client/widget.js" async></script>
<div class="total_protection_roofing_system"></div>
Is this anything like the Owens Corning roof visualizer? If it is, you can also add it as a Wix HTML Component on a page, and made it stretch full width. They should give you the entire embed code to be added there.
Take a look at this…
https://jsfiddle.net/russian_dima/4fLkcb0a/2/
Like Chris suggested you already…
…you can also add it as a Wix HTML Component on a page, and made it stretch full width…
This is how it should look like in your html-component…
Add some more html-code, to get it complete…
<html>
<head><title>MyTitleHere</title>
<script>
//your JAVA-SCRIPT from OwensCorning here.....
</script>
</head>
<body>
//put in here the html-data......
</body>
</html>
Done!