简体   繁体   English

宏弹出窗口有两个接近的x

[英]Magnific popup has two close x's

I am integrating a front end html theme with a back-end Laravel app. 我正在将前端html主题与后端Laravel应用集成在一起。 Something is causing the popup modal to have two close x's. 某种原因导致弹出模式具有两个接近的x。 I have not been able to find out what is causing the extra x button. 我还无法找出导致额外x按钮的原因。

The one x is loaded by added class mfp-close from Magnific close. x是由Magnific close添加的类mfp-close加载的。 Not sure how the other one is getting added in. 不知道另一个是如何添加的。

If I delete the "x" in the loaded html, it deletes the smaller x (which is correct). 如果我在加载的html中删除“ x”,它将删除较小的x(这是正确的)。 Not sure how this x is getting loaded. 不确定此x的加载方式。

关闭按钮 加载的HTML

EDIT: After deleting the mfp-close:before css, I end up with the smaller "x", which I do not want. 编辑:删除了mfp-close:before css之后,我最终得到了较小的“ x”,这是我不想要的。

在此处输入图片说明

如果有人遇到类似问题,我可以通过加载magnific-popup.min.js而不是jquery.magnific-popup.min.js

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

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