Add Custom Fonts to Redux Framework
-
Hello
Is it possible to add custom fonts to the redux framework used by evolve?
I workarounded it by modifying the file:
plugins\redux-framework\ReduxCore\inc\fields\typography\field_typography.php
I added:
if ( ! class_exists( ‘ReduxFramework_typography’ ) ) {
class ReduxFramework_typography {private $std_fonts = array(
//MDV BEGIN
“Aller Light, sans-serif” => “Aller Light, sans-serif”,
“Aller Regular, sans-serif” => “Aller Regular, sans-serif”,
“Aller Bold, sans-serif” => “Aller Bold, sans-serif”,//MDV END
“Arial, Helvetica, sans-serif” => “Arial, Helvetica, sans-serif”,
“‘Arial Black’, Gadget, sans-serif” => “‘Arial Black’, Gadget, sans-serif”,
“‘Bookman Old Style’, serif” => “‘Bookman Old Style’, serif”,
“‘Comic Sans MS’, cursive” => “‘Comic Sans MS’, cursive”,
…Can it be done by some code in functions.php?
Thanks
David
- The topic ‘Add Custom Fonts to Redux Framework’ is closed to new replies.