Skip to content

Instantly share code, notes, and snippets.

@CameronGilroy
Created July 24, 2019 03:02
Show Gist options
  • Save CameronGilroy/e09aa7c543372ee9c22bb48148431de0 to your computer and use it in GitHub Desktop.
Save CameronGilroy/e09aa7c543372ee9c22bb48148431de0 to your computer and use it in GitHub Desktop.
<script>
document.addEventListener("DOMContentLoaded", function() { //is the page fully loaded, (the quiz is built with JS so this cant run before the quiz is loaded) https://wordpress.org/plugins/ultimate-viral-quiz/
document.querySelector(".single-post .uvq-quiz-container hr").remove();
document.querySelector(".single-post .uvq-quiz-container .text-description-content").remove();
document.querySelector(".single-post .uvq-quiz-container .col-md-6").classList.add('col-md-12');
document.querySelector(".single-post .uvq-quiz-container .col-md-6").classList.remove('col-md-6');
});
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment