[英]White space around images only on mobile - wordpress
I am trying to fix this problem - There is a huge white space around the posts and pages in mobile display. 我正在尝试解决此问题-移动显示中的帖子和页面周围有巨大的空白。 However homepage is absolutely fine.
但是主页绝对可以。 One such image is attached here I have tried display-x property.
我尝试在此附加一个这样的图像 display-x属性。 It fixes the problem of posts and pages however it breaks the homepage.
它解决了帖子和页面的问题,但破坏了主页。 I also thought that footer widgets were breaking this - but not.
我还认为页脚小部件打破了这一点-但并非如此。 It was problem with previous theme too - can anyone help me???
这也是以前的主题的问题-有人可以帮我吗???
First of all, do you have this in the <head>
? 首先,您是否在
<head>
有这个?
<meta name="viewport" content="width=device-width, initial-scale=1">
Second, we can't see any code, so we can't help you. 其次,我们看不到任何代码,因此我们无法为您提供帮助。 Do you have something long that's extending the page, like a large URL?
您是否有较长的时间来扩展页面,例如较大的URL? That's usually the issue that causes websites to be extended out of the viewport.
这通常是导致网站扩展到视口之外的问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.