锚标记滚动到 div 不适用于 #section

发布于 2025-01-13 02:46:46 字数 296 浏览 0 评论 0原文

我不确定为什么,但随机在我的 WordPress 网站上,#section 标签在整个网站上停止工作?不知道从哪里看,看了一段时间无法弄清楚

我应该从哪里开始看?

我正在使用 http://manos.malihu。 gr/repository/page-scroll-to-id/demo/demo.html 插件 - 这工作得很好。

I'm unsure why but randomly on my wordpress site, #section tag on stopped working across whole site? Not sure where to look, been looking at it for a while can can't figure it out

Where should I start looking?

I'm using http://manos.malihu.gr/repository/page-scroll-to-id/demo/demo.html plugin - This was working totally fine.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

你曾走过我的故事 2025-01-20 02:46:46

通过完全删除插件并添加scroll-behavior: smooth 到 html CSS 来解决。插件无法正常工作

Resolved by removing plugin completely and adding scroll-behavior: smooth to html CSS. Plugin wasn't working properly

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文