FontAwesome showing in Articles, nowhere else? | Community
Skip to main content

FontAwesome showing in Articles, nowhere else?

  • June 23, 2023
  • 1 reply
  • 0 views

kyle.kowalsky

EDIT: I found the answer. In the article_page.hbs is the below line. I added it to the top of my header.hbs

<script src="https://kit.fontawesome.com/7a43e736d5.js" crossorigin="anonymous"></script>

 

I'm having some trouble with using the FontAwesome font in Copenhagen. I've got a little house icon before my breadcrumbs, and it's in my style.css as this:

.breadcrumbs li:first-child a:before {
display: inline-block;
font-family: "FontAwesome";
content: "\f015";
padding-right: 5px;
}

It works great on Articles, but on Categories and Sections, I only see the unicode placeholder - a little rectangle with "f015" written in it.

I also have an alert bar and I attempted to use a FontAwesome icon instead, but I ran into the same problem - it looks okay on an Article, but on the Home page or anywhere else it doesn't show.

I'm not sure what I'm missing, but if anyone can help me get FontAwesome from my CSS working across all pages I would love to hear how.

1 reply

Mike53
  • August 27, 2023
Hi Kyle! Found this helpful guide on how to use it for Categories: Trying to add font-awesome to category page Answered