Created
October 4, 2023 16:10
-
-
Save matiaslopezd/528fb876479e066de5cfc9a3f8aa89c0 to your computer and use it in GitHub Desktop.
Add custom css to the widget
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const style = document.createElement('style'); | |
style.innerHTML = ` | |
/* Add CSS */ | |
`; | |
document.querySelector('.videsk-home-iframe iframe').contentDocument.head.appendChild(style): |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This code allows you to inject custom CSS into the widget.