Google fonts – spaces and lowercase problem
-
Hi
I have code like this:
$body_typography = ot_get_option( 'body_typography', array( 'font-color' => '#333333', 'font-family' => 'Carrois Gothic', 'font-size' => '14px', 'font-style' => 'normal', 'font-variant' => '', 'font-weight' => 'normal', 'letter-spacing' => '', 'line-height' => '', 'text-decoration' => 'none', 'text-transform' => 'none' ) );
When i want to use default font or some google font that has 2 words name, ex. “open sans” i have: font-family: opensans; instead of font-family:”Open Sans”
print_r($body_typography):
Array ( [font-color] => #8b8b8b [font-family] => opensans [font-size] => 13px [font-style] => normal [font-variant] => [font-weight] => normal [letter-spacing] => [line-height] => [text-decoration] => none [text-transform] => none )
OptionTree 2.5.5
Best Regards
ML
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Google fonts – spaces and lowercase problem’ is closed to new replies.