我写过
<link media="all" type="text/css"
href="www.nysci.org.php53-14.ord1-1.websitetestlink.com/wp-content/themes/nysci/custom.css"
rel="stylesheet">
在我的标题中,但它没有加载css
任何人都可以给我一个解决方案吗? 网址为http://www.nysci.org.php53-14.ord1-1.websitetestlink.com/
答案 0 :(得分:1)
更改您的代码
来自
href="www.nysci.org.php53-14.ord1-1.websitetestlink.com/wp-content/themes/nysci/custom.css"
以强>
href="http://www.nysci.org.php53-14.ord1-1.websitetestlink.com/wp-content/themes/nysci/custom.css"
答案 1 :(得分:0)
尝试www.nysci.org.php53-14.ord1-1.websitetestlink.com/wp-content/themes/nysci/custom.css
,因为在您的指定网址中需要http://www.nysci.org.php53-14.ord1-1.websitetestlink.com/www.nysci.org.php53-14.ord1-1.websitetestlink.com/wp-content/themes/nysci/custom.css
答案 2 :(得分:0)
问题是您的CSS文件出现404
HTTP错误。所以你需要改变
href="www.nysci.org.php53-14.ord1-1.websitetestlink.com/wp-content/
themes/nysci/custom.css"
到此:
href="//www.nysci.org.php53-14.ord1-1.websitetestlink.com/wp-content/
themes/nysci/custom.css"
当您拥有初始链接时,您将看到资源文件为空。但是,一旦添加//
然后打开文件,您将在Inspector的样式选项卡中看到样式技术。