简体   繁体   English

网站链接在台式机上有效,而不在移动设备上有效

[英]Website links work on Desktop, not on Mobile

Here is my site: www.apologeticscentral.co.za 这是我的网站:www.apologeticscentral.co.za

The menu links works on desktop, but not on mobile. 菜单链接在台式机上有效,但在移动设备上无效。 Also when simulating the mobile site using Chrome developer tools, the menu links work as well. 同样,在使用Chrome开发人员工具模拟移动网站时,菜单链接也可以正常工作。

On mobile, the menu links work when using force touch (on iPhone), and when I hold it down and say open, it works as well. 在移动设备上,菜单链接在使用强制触摸(在iPhone上)时有效,而当我按住并说打开时,它也可以正常工作。 But a simple click does nothing. 但是,简单的单击什么也没有做。 Any ideas what the cause may be? 任何想法可能是什么原因?

<nav id="nav">
    <ul class="links">
        <li class="active"><a href="index.html">Home</a></li>
        <li><a href="about.html">About</a></li>
        <li><a href="apologia/index.html">Apologia</a></li>                         
        <li><a href="argument/index.html">Argument</a></li>
        <li><a href="articles/index.html">Articles</a></li>
        <li><a href="bible/index.html">Bible</a></li>
        <li><a href="FAQ/index.html">FAQ</a></li>
    </ul>
    <ul class="icons">
        <li><a target="blank" href="https://twitter.com/ApologeticsC" class="icon fa-twitter"><span class="label">Twitter</span></a></li>
        <li><a target="blank" href="https://www.facebook.com/apologeticscentral" class="icon fa-facebook"><span class="label">Facebook</span></a></li>
        <li><a target="blank" class="icon alt fa-instagram"><span class="label">Instagram</span></a></li>

    </ul>
</nav>

My problem was that Angular Material was conflicting with my CSS. 我的问题是Angular Material与我的CSS冲突。 I created a separate module and I did not include material in that module, then it worked fine. 我创建了一个单独的模块,但是我没有在该模块中包含材料,所以它工作正常。

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

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