Here I will describe how to change fonts for “Twenty Sixteen” child theme in WordPress. This may be needed because of the default fonts incompatibility with the language that your website is using. Also this may solve issue when fonts have changed after installing Polylang plugin.
How “Twenty Sixteen” theme handles fonts
Theme font handling begins with loading the functions.php file in the function named twentysixteen_fonts_url() which returns valid Google fonts URL. This function is called along with other main CSS files and scripts when they are enqueued in twentysixteen_scripts() function and fired at “wp_enqueue_scripts” action hook. Then fonts are freely declared in the main CSS file. Continue reading “How to change fonts for “Twenty Sixteen” child theme”