Error wont load if it's at the base of the page
-
I’m having a strange error where Disqus wont load if it’s at the base of the page.
I’m using the Sage starter theme by Roots (roots.io). I was tearing my hair out, trying to figure out why Disqus wasn’t appearing.
No javascript errors, code all there, but then adding a wrapper:
<div class="comments-wrapper" style="padding-bottom: 1px;"> <?php comments_template('/templates/comments.php'); ?> </div>
and adding a single bit of padding at the bottom, it solved the issue. Is there a problem with Disqus needing an extra pixel beneath itself to load?
https://www.ads-software.com/plugins/disqus-conditional-load/
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Error wont load if it's at the base of the page’ is closed to new replies.