
Add custom fonts to appear on my font list in the The7.io
- or -
Post a project like this2156
£20(approx. $27)
- Posted:
- Proposals: 3
- Remote
- #2385902
- Awarded
Description
Experience Level: Intermediate
I need to add following fonts
League Gothic (adobe)
Bebas Neue ( adobe)
Big Caslon
to appear on my font list in the The7.io theme.
Here are instructions:
http://support.dream-theme.com/knowledgebase/add-custom-font/
Upload font files to your website, for example, into …/wp-content/uploads/fonts/
then add @font-face in Theme Option > Advacned > Custom CSS or child theme style-sheet this way:
@font-face {
font-family: 'Gruppo';
src: url('/wp-content/uploads/fonts/Gruppo_reg.eot');
src: url('/wp-content/uploads/fonts/Gruppo_reg.eot') format('embedded-opentype'),
url('/wp-content/uploads/fonts/Gruppo_reg.woff') format('woff'),
url('/wp-content/uploads/fonts/Gruppo_reg.ttf') format('truetype'),
url('/wp-content/uploads/fonts/gruppo_reg.svg#Gruppo') format('svg');
}
Now you can either apply font using custom CSS like this:
body, p, h1, h2 {
font-family: 'Gruppo' !important;
}
Add a font to theme font list
Please add the following code into the end of your functions.php file:
function add_custom_font( $fonts ) {
$fonts['Gruppo'] = 'Gruppo';
return $fonts;
}
add_filter( 'presscore_options_get_safe_fonts', 'add_custom_font' ,30 , 1 );
Now This font is available in Theme Options > Typography > font list.
Note: If you want to specify font with weight you can do this using following code notation in add_custom_font() function.
$fonts['Gruppo:500'] = 'Gruppo(500)'; //for 500 weight
$fonts['Gruppo:700'] = 'Gruppo(700)'; //for 700 weight
League Gothic (adobe)
Bebas Neue ( adobe)
Big Caslon
to appear on my font list in the The7.io theme.
Here are instructions:
http://support.dream-theme.com/knowledgebase/add-custom-font/
Upload font files to your website, for example, into …/wp-content/uploads/fonts/
then add @font-face in Theme Option > Advacned > Custom CSS or child theme style-sheet this way:
@font-face {
font-family: 'Gruppo';
src: url('/wp-content/uploads/fonts/Gruppo_reg.eot');
src: url('/wp-content/uploads/fonts/Gruppo_reg.eot') format('embedded-opentype'),
url('/wp-content/uploads/fonts/Gruppo_reg.woff') format('woff'),
url('/wp-content/uploads/fonts/Gruppo_reg.ttf') format('truetype'),
url('/wp-content/uploads/fonts/gruppo_reg.svg#Gruppo') format('svg');
}
Now you can either apply font using custom CSS like this:
body, p, h1, h2 {
font-family: 'Gruppo' !important;
}
Add a font to theme font list
Please add the following code into the end of your functions.php file:
function add_custom_font( $fonts ) {
$fonts['Gruppo'] = 'Gruppo';
return $fonts;
}
add_filter( 'presscore_options_get_safe_fonts', 'add_custom_font' ,30 , 1 );
Now This font is available in Theme Options > Typography > font list.
Note: If you want to specify font with weight you can do this using following code notation in add_custom_font() function.
$fonts['Gruppo:500'] = 'Gruppo(500)'; //for 500 weight
$fonts['Gruppo:700'] = 'Gruppo(700)'; //for 700 weight

Mick G.
98% (40)Projects Completed
45
Freelancers worked with
32
Projects awarded
56%
Last project
14 Apr 2025
United Kingdom
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies