gpt4 book ai didi

css - Xenforo 1.4.5 图标错误

转载 作者:行者123 更新时间:2023-12-01 16:09:23 24 4
gpt4 key购买 nike

我正在尝试将一些新的 4.3 图标分配到我的论坛节点。这是论坛链接:enter link description here

我遇到的问题是旧图标显示得很好,但新图标显示为方形白框。这是一些现有的工作代码,后面是不起作用的新图标代码。

工作图标:

/* General Chat */
.node_9 .forumNodeInfo .nodeIcon:before {content: '\f1d7' !important;}

不工作图标:

/* Requests */
.node_112 .forumNodeInfo .nodeIcon:before {content: '\f234' !important;}

我不知道如何解决这个问题。任何帮助将不胜感激。

我读过这个:

EASY: Default CSS

Use this method to get the default Font Awesome CSS.

Copy the entire font-awesome directory into your project. In the of your html, reference the location to your font-awesome.min.css. Check out the examples to start using Font Awesome!

我不明白它问我去哪里做什么,因为我所有的定制都在 extra.css 中。我没有使用

的 RAW html 网站

谢谢

最佳答案

您使用的是 FontAwesome 的旧 CDN 引用 URL。

在标题中替换

<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css">

有了这个

<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">

关于css - Xenforo 1.4.5 图标错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30387677/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com