简体   繁体   English

Disqus评论与我的页脚重叠

[英]Disqus comments overlapping my footer

Hi guys I've made a lot of progress on this project but now I seem to have run into a slight issue when integrating the disqus commenting system. 嗨,大家好,我在这个项目上取得了很多进展,但是现在,在集成Disqus评论系统时,我似乎遇到了一个小问题。

I've looked at the other questions but it seems with html and css things can go sideways in so many different ways those questions didn't help too much. 我看过其他问题,但似乎使用html和css时,事情可以以许多不同的方式横摆,这些问题并没有太大帮助。

It's overlapping the footer at the bottom of the page. 它与页面底部的页脚重叠。 I'll post a link to a sample page, please help. 我将发布指向示例页面的链接,请提供帮助。 Thanks. 谢谢。

http://blubee.me/journal/ "disqus overlaps footer" http://blubee.me/journal/ “ disqus与页脚重叠”

here's a screenshot below 这是下面的截图 在此处输入图片说明

css for the article section, the div article-footer which houses the disqus comment code doesn't have any styles applied to it. 对于文章部分的CSS,用于存放disqus注释代码的div文章页脚未应用任何样式。

.article-header .title {
  text-transform: uppercase;
  font-weight: 500;
  font-size: 1.5em;
  padding: 0 0 10px 0;
}

.article-meta {
  text-align: left;
  margin-top: -10px;
}

.article-meta img {
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
}

.article-meta ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

.article-meta ul li {
  display: inline-block;
}

.article-meta ul li a {
  text-decoration: none;
}

.article-meta ul li a:hover {
  color: #fff;
}

    .journals h1, .journals h2, .journals h3, .journals h4, .journals h5, .content h1, .content h2, .content h3, .content h4, .content h5 {
      text-transform: uppercase;
      font-weight: bold;
      font-size: 1.5em;
      padding: 20px 0 15px 0; }

You said : the div surrounding the comments has no styles on it at the moment ... 您说: 评论周围的div目前没有样式 ...

That being said, it's obvious why the overlap is occurring, you have not set a width, height and position for the div containing the comments section. 话虽如此,很明显为什么会发生重叠,您尚未为包含注释部分的div设置宽度,高度和位置。

In order for that to be fixed, you must define those. 为了解决该问题,您必须定义这些。 That will fix your problem. 那将解决您的问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM