Skip to content

Instantly share code, notes, and snippets.

@mdmoinulhossain
Created August 9, 2025 12:43
Show Gist options
  • Save mdmoinulhossain/391c86904e4823a9242620186e8f8a8e to your computer and use it in GitHub Desktop.
Save mdmoinulhossain/391c86904e4823a9242620186e8f8a8e to your computer and use it in GitHub Desktop.
Child theme custom font add system
/*
Theme Name: Change with your theme name
Theme URI: http://yoursite.com/yourthemename-child/
Description: Change with your desired theme description
Author: Your Name
Author URI: http://example.com
Template: Change with the identical parent theme name
Version: 1.0.0
*/
@font-face {
font-family: 'YourFontName';
src: url('fonts/yourfontfilename.eot?#iefix') format('embedded-opentype'),
url('fonts/yourfontfilename.woff') format('woff'),
url('fonts/yourfontfilename.ttf') format('truetype'),
url('fonts/yourfontfilename.svg#svgyourfontfilename') format('svg');
}
body {
font-family: 'YourFontName', sans-serif;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment