Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?

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