Skip to content

Instantly share code, notes, and snippets.

@vermiculus
Created May 25, 2015 14:46
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 vermiculus/54ff79fc4d98f401bf15 to your computer and use it in GitHub Desktop.
Save vermiculus/54ff79fc4d98f401bf15 to your computer and use it in GitHub Desktop.

Use Jekyll and Disqus for your blog? Have you noticed how the Disqus section takes up the entire width of the page? Ugly!

Thankfully, there's a super easy way to fix this such that it will match the rest of your site. Add the wrapper class to the disqus_thread in your universal include code:

-<div id="disqus_thread"></div>
+<div id="disqus_thread" class="wrapper"></div>

That's it! Your comments section will now match the default width the rest of your site uses.

This has been tested with the default Jekyll theme as of the commit date on this gist.

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