Skip to content

Instantly share code, notes, and snippets.

@jotaelesalinas
Created September 18, 2017 15:01
Show Gist options
  • Save jotaelesalinas/6eed62f72261ca4712ad73422c7b5877 to your computer and use it in GitHub Desktop.
Save jotaelesalinas/6eed62f72261ca4712ad73422c7b5877 to your computer and use it in GitHub Desktop.
var e = document.querySelector('.site-header');
e.parentElement.removeChild(e);
e = document.querySelector('.site-footer');
e.parentElement.removeChild(e);
e = document.querySelector('.blog-post__comments');
e.parentElement.removeChild(e);
e = document.querySelector('.social-media-links');
e.parentElement.removeChild(e);
e = document.querySelector('.blog-post');
e.style.maxWidth = 'inherit';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment