Adding SVG icon in headings (h1, h2, etc..)
-
Hello,
Thanks for this great plugin!
I’m using this CSS snippet for adding external Font Awesome icons in headings, like H1 here:
h1:before { content: "\f192 "; font-family: "FontAwesome"; color: red; }
Would it be possible to do the same with SVG icons uploaded in the Media Library?
I tried to add the icon’s URL for “content” but doesn’t seem to work.
My icon URL is something like this:
https://example.com/wp-content/uploads/2021/11/test.svgThanks!
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Adding SVG icon in headings (h1, h2, etc..)’ is closed to new replies.