WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Can't Change Any Header Fonts (6 posts)

  1. Lizette Lafuente
    Member
    Posted 2 years ago #

    I'm using the Theophilus theme for my blog and I can't change ANY of the header font styles. No matter what I do they just keep reverting back to arial. I've got h2 set to Times New Roman to see if anything changes but it appears like that for a millisecond until the page finishes loading and then BOOM! Freakin arial. I've combed through every single file that came with the theme searching for a script, a command, nothing. The only mention of arial in the stylesheet is for the comments page. I've looked through posts here on similar dilemmas to no avail. I'm losing sleep over this. Any whizzes here have any ideas? Diagnoses? Pain killers? I offer this to you as a challenge. Here's the embarrassing half-finished culprit:

    http://www.lizettelafuente.com/blog/

    Any help would be really a miracle. Thanks.

  2. Max
    Member
    Posted 2 years ago #

    The theme is using Cufon font replacement. You will need to find out where they are loading the cufon javascript (usually in the header or functions.php) and remove it from there.

    For more information refer to the Cufon website

  3. Lizette Lafuente
    Member
    Posted 2 years ago #

    Well, here's the header:

    <?php ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head profile="http://gmpg.org/xfn/11">
    <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
    <title><?php if (function_exists('is_tag') && is_tag()) { echo 'Posts tagged "'.$tag.'" - '; } elseif (is_archive()) { wp_title(''); echo ' Archive - '; } elseif (is_search()) { echo 'Search for "'.wp_specialchars($s).'" - '; } elseif (!(is_404()) && (is_single()) || (is_page())) { wp_title(''); echo ' - '; } elseif (is_404()) { echo 'Not Found - '; } bloginfo('name'); ?></title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <meta name="generator" content="WordPress <?php bloginfo('version'); ?>" />
    <link rel="shortcut icon" href="<?php bloginfo('template_directory'); ?>/images/favicon.ico" type="image/x-icon" />
    <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
    <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
    <?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?>
    <?php wp_enqueue_script('jquery'); ?>
    <?php wp_head(); ?>
    </head>
    <body>
    <div id="wrapper">
    
    	<div id="masthead" class="fix" style="height:100px;">
    		<h1><a>/"><img src="http://www.lizettelafuente.com/wp-content/uploads/2012/04/LL-Logo.png"></a></h1>
    	</div>'
    
    and here's the theme functions:
    
    '<?php $GLOBALS['content_width'] = 500;
    if ( function_exists('register_sidebar') ) {
    	register_sidebar(array(
    		'name' => 'Sidebar - Index',
    		'before_widget' => '<div id="%1$s" class="widgetContainer %2$s">',
    		'after_widget' => '</div>',
    		'before_title' => '<h3 class="widget-title">',
    		'after_title' => '</h3>'
    	));
    	register_sidebar(array(
    		'name' => 'Sidebar - Post',
    		'before_widget' => '<div id="%1$s" class="widgetContainer %2$s">',
    		'after_widget' => '</div>',
    		'before_title' => '<h3 class="widget-title">',
    		'after_title' => '</h3>'
    	));
    }
    ?>

    Am I missing something here?

    [Edited - Backticks are not single quotes ;) ]

  4. Andrew
    Forum Moderator
    Posted 2 years ago #

    nevermind

  5. Lizette Lafuente
    Member
    Posted 2 years ago #

    okay so I just read up on backticks. back to this, anybody see something I don't? where else could the script be hiding?

  6. Lizette Lafuente
    Member
    Posted 2 years ago #

    I did it! I did it guys. First off, thanks for taking the time to have a look in the first place. It helped me out in my search. I found the Cufon font replacement just like you said, by poking around in the theme's files on my FTP. Saw that sucker there and DESTROYED it! Now everything can go back to normal (almost). Sneaky little guys, you know? I thought I'd be able to do it from within the platform. Oh well. Thanks for all the help.

Topic Closed

This topic has been closed to new replies.

About this Topic