简体   繁体   English

变形模态窗口打破了所有背景固定

[英]Morphing Modal Window broke all background fixed

I have found a nice morphing modal script that I am trying to add into website. 我找到了一个很好的变形模态脚本,试图将其添加到网站中。 Everything is working fine, but then I noticed that, after I close a window, all my background was broken. 一切工作正常,但随后我发现关闭窗口后,所有背景都被破坏了。

Can someone help me solve this issue or at least give some hints on what can be causing this? 有人可以帮我解决这个问题,或者至少可以暗示一下可能是什么原因吗?

website: http://ochutnejvietnam.cz/test 网站: http//ochutnejvietnam.cz/test

click to "Fire Modal Window", then "close it" and check a "background". 单击“消防模态窗口”,然后“将其关闭”并检查“背景”。

There is nothing wrong with the background, that is the way it was meant to work, the glitch is because when you open the modal the scroll bar (right) is hiding, when you close the modal the scroll bar goes visible again and the background image resizes to fit on the new size of the view. 背景没有问题,这就是它的工作方式,故障是因为当您打开模式时,滚动条(右侧)隐藏了,当您关闭模式时,滚动条又变得可见了,背景调整图像大小以适合视图的新大小。

Another problem with your website, when you scroll down with the modal opened the background fixed images appear over the modal, you can change that by removing the z-index from the class .bg-fixed . 网站的另一个问题是,当使用模式打开时向下滚动时,背景固定图像出现在模式上,则可以通过从.bg-fixed类中删除z-index来更改它。

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

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