Skip to content

Instantly share code, notes, and snippets.

@matiaslopezd
Created October 4, 2023 16:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save matiaslopezd/528fb876479e066de5cfc9a3f8aa89c0 to your computer and use it in GitHub Desktop.
Save matiaslopezd/528fb876479e066de5cfc9a3f8aa89c0 to your computer and use it in GitHub Desktop.
Add custom css to the widget
const style = document.createElement('style');
style.innerHTML = `
/* Add CSS */
`;
document.querySelector('.videsk-home-iframe iframe').contentDocument.head.appendChild(style):
@matiaslopezd
Copy link
Author

This code allows you to inject custom CSS into the widget.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment