If you want to opt for the CSS route, you must convert the favicon image into SVG format and add the favicon link markup in the HTML head through a “wp_head” action. It requires an intricate understanding of HTML and CSS and is not recommended by experts as the go-to option.