Support » Theme: Desire » [Theme: desire] Change the font

  • 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

Viewing 5 replies - 1 through 5 (of 5 total)
  • 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.




    The blog is here – (Due to some reason the blog shows up only when entering the full URL)

    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.




    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.


    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.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Theme: desire] Change the font’ is closed to new replies.