Blogger Static Pages Display Content on Half of the Page

試著忘記壹切 提交于 2019-12-11 18:29:25

问题


This page https://www.neuroscientia.com/p/iq.html only displays content in half of the page. It is a static page like other static pages such as ABOUT US, CONTACT US etc and all these pages do display their content in only half of the page while leaving the other half blank on all screen sizes. I have tweaked my HTML source code and couldn't get what's causing this.

I am using a responsive template, set Media screens, view point already. So I'm confused why this error should occur.

The blog is hosted on Blogger. Please I need your help on displaying the content on the full screen for all devices.


回答1:


You have a class stoping the content width:

.blog-posts-wrapper {
  float: left;
  width: 48%;
  margin-right: 1.5%;
}

Change it to :

.blog-posts-wrapper {
  float: left;
  width: 100%;
  margin-right: 1.5%;
}


来源:https://stackoverflow.com/questions/49776469/blogger-static-pages-display-content-on-half-of-the-page

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!