- This topic has 16 replies, 2 voices, and was last updated 7 years, 3 months ago by Andrew Misplon. 
Tagged: Child Theme webfont
- AuthorPosts
- August 1, 2018 at 9:31 am #10209
 shreddieParticipantOK, thanks for the extra instruction. I added my copperplatewebfont.cssfile to the/wp-content/themes/puro-child/directory.and then edited the functions.php, adding: /** * Enqueue custom styles. */ function puro_child_enqueue_custom_styles() { wp_enqueue_style( 'web-font', get_stylesheet_directory_uri() . '//puro-4401.kxcdn.com/copperplatewebfont.css' ); } add_action( 'wp_enqueue_scripts', 'puro_child_enqueue_custom_styles', 8 );But it was not working – the font was not loading. I Inspected the element, and my console had these errors: copperplatewebfont.css:1 Failed to load resource: the server responded with a status of 404 (Not Found) copperplategothicstd-33bc-webfont.woff:1 Failed to load resource: the server responded with a status of 404 (Not Found) copperplategothicstd-33bc-webfont.ttf:1 Failed to load resource: the server responded with a status of 404 (Not Found) copperplatewebfont.css:1 Failed to load resource: the server responded with a status of 404 (Not Found)I installed the font files into the /wp-content/themes/puro-child/directory, and it is now working!Thanks for all of your help!! August 1, 2018 at 9:33 am #10210
 Andrew MisplonKeymasterAwesome 🙂 Nicely done! 
- AuthorPosts
You must be logged in to reply to this topic.