Change the font (6 posts)

  1. flod
    Posted 4 years ago #

    I know the font can e changed in Theme Options. But if i want to use a completely other font than the 3 given already? Is it possible. I used Opera Dragonfly to check where the font was picked up from and found that, interesting the font to be used is mentioned in index.php file


  2. peredur
    Posted 4 years ago #

    A link to your site would help us to see what's going on, if it's at all possible.

    The usual method of doing this is to use Firebug in Firefox (or equivalent) to find the style rule that's setting the property. Once that's done you can simply manipulate that property.

    The recommended way is to use a child theme.



  3. flod
    Posted 4 years ago #


    The blog is here - http://www.flod.in/cafe/index.php (Due to some reason the blog shows up only when entering the full URL)

  4. peredur
    Posted 4 years ago #

    This looks like the CSS rule you want:

    body, input, textarea {
      font-family: Helvetica,Arial,sans-serif;

    The rule is in this file:


    I.e., it's in a <style> block.

    The style block is inserted by the theme and to cut a long story short it uses this function in functions.php:

    // Initialize Theme Options
    function desire_init_options() {
        global $desireoptions;
        return array(
            'body_font' => 'Helvetica, Arial, sans-serif',
            'enable_custom_background' => false,
            'enable_post_slideshow' => true,
            'slideshow_count' => 5,
            'enable_custom_header' => false,
            'site_title_font' => 'default',
            'enable_breadcrumbs' => true,
            'sidebar_width' => 250,
            'adsense_code' => '',
            'show_tabbed_content' => true,
            'blog_layout' => 'traditional',
            'show_category_front' => false,
            'show_category_single' => true,
            'show_tags_front' => false,
            'show_tags_single' => true

    You'll probably have to alter this directly because your theme appears not to support child themes (in the matter of redefining functions): so be very careful if you update the theme to make sure the update doesn't overwrite your changes.



  5. flod
    Posted 4 years ago #


    It seems to be working out now. I just added the font I wanted in the above code and it didn't work out. I added it in the CSS file and it worked! To check I again restored the functions.php file to original and it still used the custom font I wanted.

    Thanks a lot for the valuable inputs.


  6. peterdan
    Posted 3 years ago #

    Since you guys are familiar with the theme, can you point me in the right direction where I could remove the date, author sections from pages?

    I've been going crazy trying to figure it out myself.. so any help is appreciated.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic