change defualt font

Posted in: Newspaper
Post count: 186

How do I set the default site font to times romans with just a line of code

Post count: 23312

Hello willysawa,

Please notice that our theme uses 2 type for fonts as default ->Commic Sans and Roboto. If you want to change these, you have to alter the code from the core file named td_config.php, like this -> http://screencast.com/t/m7InjLIfUCD You should change them with your desired code. If you are not aware to the steps in this regard, please consider hiring a freelancer/developer to do this for you because we cannot provide customization services at the moment, sorry!

Thank you for the message!

Post count: 186

plz i used this two fonts

Lato’,serif

HELP ME CHECK IF I DID THE RIGHT THING

/**
* the default fonts used by the theme. For a list of fonts ids @see td_fonts::$font_names_google_list
*/
td_global::$default_google_fonts_list = array (
‘438’ => array(
‘css_style_id’ => ‘google_font_sans_serif’,
‘url’ => td_global::$http_or_https . ‘://fonts.googleapis.com/css?family=sans+serif:300italic,400italic,600italic,400,600,700’
),
‘521’ => array(
‘css_style_id’ => ‘google_font_Lato’,
‘url’ => td_global::$http_or_https . ‘://fonts.googleapis.com/css?family=Lato:500,400italic,700,500italic,400,300’
),
);

/**

Post count: 23312

Hello willysawa,

The code is correct but please notice that in order to load this kind of font instead of Roboto, you need to do some additional customization through style.css and replace all the Roboto with your new code. It is necessary to do this thing because the theme do not recognize this font and it will have to be called with CSS -> this is the behavior of the theme. Please notice that is not a simple task and if you are not aware of the steps in this regard, please consider hiring a freelancer/developer to help you because we cannot provide customization services at the moment, sorry!

Thank you for the message!

Viewing 4 posts - 1 through 4 (of 4 total)
The forum ‘Newspaper’ is closed to new topics and replies.