简体   繁体   English

Wordpress 网站突然不显示一些 DOM 元素但移动端没问题

[英]Wordpress site suddenly not showing some DOM elements but mobile is fine

So today I discovered that my website's homepage https://olgupsikoloji.com is missing body elements.所以今天我发现我网站的主页https://olgupsikoloji.com缺少 body 元素。 It is a WP site running on AWS Ubuntu and LiteSpeed with LSCache and Memcached.它是一个在 AWS Ubuntu 和 LiteSpeed 上运行的 WP 站点,带有 LSCache 和 Memcached。

The issue is: Some DOM elements right after title bar appear to be hidden, but they are there, just not visible.问题是:标题栏后面的一些 DOM 元素似乎是隐藏的,但它们确实存在,只是不可见。 You can click on them or view hidden images by dragging them.您可以单击它们或通过拖动它们来查看隐藏的图像。

Here's what I've done: Yesterday, I updated some of the texts in other pages (which are fine) and nothing on homepage.这是我所做的: 昨天,我更新了其他页面中的一些文本(很好),但主页上没有任何内容。

Here's what I tried to troubleshoot:这是我试图解决的问题:

  • Bypassed Cloudflare绕过 Cloudflare
  • Cleared LSCache清除LSCache
  • Disabled all plugins禁用所有插件
  • Updated Wordpress更新 Wordpress
  • Updated the theme更新了主题
  • Tested on multiple browsers and devices在多个浏览器和设备上测试
  • Tested on Safari for iOS (no issues)在 Safari 上针对 iOS 进行了测试(没有问题)
  • Tested on Chrome for Android (no issues)在 Chrome 上测试 Android(没有问题)
  • Page Builder seems okay, no open tags or any broken element. Page Builder 似乎没问题,没有开放标签或任何损坏的元素。

As far as I can tell, it's a rendering issue on Webkit browsers for desktop (?)据我所知,这是桌面 Webkit 浏览器的渲染问题(?)

I appreciate all the help, it's been driving me crazy.我感谢所有的帮助,这让我发疯了。

in your styles.css on line 10041 you have a class with opacity set to 0在第10041行的 styles.css 中,您有一个opacity设置为 0 的 class

.page-has-animation .page-content .tm-animation {
    opacity: 0;
}

and its missing the class to fade it in. ( .fade-in.animate )它缺少 class 淡入。 ( .fade-in.animate )

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

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