• Hi , i want to know if i can change, instead of having real text with the name of my blog, an image.

    This is because now i have Helvetica and i want to use another typography, actually avantgarde.

    This is my web: http://www.tweakingknobs.com where it says tweakingknobs electronic graphics and computer music.

    that is what i wanna change.

    is it posible ?

    Thanx !

Viewing 7 replies - 1 through 7 (of 7 total)
  • GiorgioMartini,

    Of course this is possible. Open the header.php and find the following code:

    <div class="span-24 header">
     <h1 class="name">
      <a href="http://tweakingknobs.com">TweakingKnobs</a>
     </h1>
      <span class="slogan">Electronic Graphics and Computer Music</span>
    </div>

    then replace with something such as:

    <div class="span-24 header">
     <img src="http://www.mysite.com/wp-content/themes/default/images/myImage.jpg">
    </div>

    Just a little thing, but WP writes to XHTML 1.0 so you’ll need to add a self-closing slash to the image tag to keep it compliant:

    <img src="http://xxxxxxxxxxxxxxxx.jpg" />

    John

    Thread Starter giorgiomartini

    (@giorgiomartini)

    Thanx both ,

    but SpankMarvin , where exactly do i put that code you wrote ?

    Thanx !

    Thread Starter giorgiomartini

    (@giorgiomartini)

    @ doc4

    hi, doc , there is nothing like that in my header.php ,

    look this is my code :

    <?php
    	global $options;
    	foreach ($options as $value) {
    	    if (get_settings( $value['id'] ) === FALSE) { $$value['id'] = $value['std']; } else { $$value['id'] = get_settings( $value['id'] ); } }
    
    	/* default values */
    
    	if ($fancy_main_color == '#FE0059') {
    		$bubbles = 'bubbles.gif';
    		$feed_image = 'feed.gif';
    		$scissors = 'scissors.gif';
    		$sep = 'sep-red.gif';
    	}
    	elseif ($fancy_main_color == '#FEB400')	{
    		$bubbles = 'bubbles-yellow.gif';
    		$feed_image = 'feed-yellow.gif';
    		$scissors = 'scissors-yellow.gif';
    		$sep = 'sep-yellow.gif';
    	}
    	else {
    		$bubbles = 'bubbles-green.gif';
    		$feed_image = 'feed-green.gif';
    		$scissors = 'scissors-green.gif';
    		$sep = 'sep-green.gif';
    	}
    ?>
    <head>
    	<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
    
        <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'); ?>" />
    	<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
    
    	<title><?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> &raquo; Blog Archive <?php } ?> <?php wp_title(); ?></title>
    
    	<? include(TEMPLATEPATH."/custom.php"); ?>
    
    	<?php wp_head(); ?>
    </head>

    All content will be after the closing head tag, i.e. after the code you have supplied above. Is this the end of your header.php file, or is there more? If there’s more, post the lot so we can see. If there isn’t, can you supply the next chunk of code from whatever include file contains it?

    GiorgioMartini,

    Like SpankMarvin says post the rest of the header.php code if it exists. Otherwise the code I reference above must be located within each body page. Check the opening code for index.php.

    Thread Starter giorgiomartini

    (@giorgiomartini)

    thanx, all the code is what i posted , i copied and pasted what u told me and now it works . thanx!!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Changing my Blog text for an Image?’ is closed to new replies.