Skip to content

FontAwesome 6 Pro SVG Kit & CSS :before not working #19595

Answered by Mindless73
Mindless73 asked this question in Q&A
Discussion options

You must be logged in to vote

Never mind, I found the solution. I needed to add "data-search-pseudo-elements" to the script tag:
<script data-search-pseudo-elements src="https://kit.fontawesome.com/YourKitID.js" crossorigin="anonymous" defer></script>

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by Mindless73
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants