Skip to content

Instantly share code, notes, and snippets.

@thisisshi
Created September 3, 2016 21:30
Show Gist options
  • Save thisisshi/80dba170593db9ccf4c5dec42153d05e to your computer and use it in GitHub Desktop.
Save thisisshi/80dba170593db9ccf4c5dec42153d05e to your computer and use it in GitHub Desktop.
var customWidth = "1920px"; var primary = document.getElementsByClassName("primary-content")[0]; var videoContainer = document.getElementById("video-container"); primary.style.width = customWidth; primary.style.margin = "0 auto"; videoContainer.style.width = customWidth; videoContainer.scrollIntoView(true);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment