0

I want to use the Font Awesome icon "file-lines". The link of the desired icon is this: https://fontawesome.com/icons/file-lines?f=classic&s=regular. The problem is that the unicode of this the solid version is the same of the regular version! https://fontawesome.com/icons/file-lines?f=classic&s=solid

f15c

How can I choose the regular version in the css?

Edit: this topic is not duplicated. I searched it for this. And both icons are free: https://fontawesome.com/search?q=file%20lines&o=r&m=free

.menu-nav a::before {
    font-size: 16px;
    line-height: 0;
    content: '\f15c';
    font-family: 'FontAwesome';
    padding-right: 8px;
    font-weight: 400;
}
<div class="menu-nav">
<a href="">Link 01</a>
</div>
Mari
  • 85
  • 7

0 Answers0