unable to use additional FontAwesome icons #769
Answered
by
razonyang
rainerrose
asked this question in
Q&A
-
Hi! My import {
faArchive, faBlog, faBook, faBug, faCar, faCloudUploadAlt, faCubes, faHandshake, faHeart, faImage, faImages, faLightbulb, faNewspaper, faSync, faTerminal
} from '@fortawesome/free-solid-svg-icons';
import {
faLinux,
faAmazon,
faMarkdown } from '@fortawesome/free-brands-svg-icons';
const icons = [
faLinux,
faAmazon,
faArchive, faBlog, faBook, faBug, faCar, faCloudUploadAlt, faCubes, faHandshake, faHeart, faImage, faImages, faLightbulb, faNewspaper, faSync, faTerminal,
faMarkdown,
];
export default icons; After some reading https://hbs.razonyang.com/v1/en/docs/look-and-feel/#usage I create a file title = "Linux Corner"
linkTitleIcon = '<i class="fab fa-faLinux"></i>' and the icon is not shown. But this works fine title = "Linux Corner"
linkTitleIcon = '<i class="fas fa-fw fa-terminal"></i>' What I'm doing wrong? |
Beta Was this translation helpful? Give feedback.
Answered by
razonyang
Nov 10, 2022
Replies: 1 comment 3 replies
-
Hi, I guess the right HTML should be title = "Linux Corner"
linkTitleIcon = '<i class="fab fa-linux"></i>' |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
rainerrose
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, I guess the right HTML should be
<i class="fab fa-linux"></i>
.