Not signed in (Sign In)
    •  
      CommentAuthormichelle
    • CommentTimeMay 16th 2010
     
    Hi there,
    For this Clean Home Pro blog:
    http://www.tincanstring.com/
    I would like to have both the header image
    http://www.tincanstring.com/wp-content/themes/cleanhomepro/logo_title2.jpg
    AND a top right nav appear. I currently have the "blurb style" menu set to "image," and I have the big space below it hidden–I don't need that space unless there's some way I can put the top nav there (that would be great). Although I have "show top right navigation widget" selected, I can't seem to use that option for the navigation because of the image header. It would be great if you could advise on how to accomplish this?

    I spent a lot of time working on this a few months ago and finally gave up. I'm not much of a coder but I'm pretty good at copy/paste. I can make the header image smaller (currently the title and smaller images are all one image and/or can change it, leave as is, whatever I need to do) if necessary.

    By the way I think your themes (clean home, magatheme) are still some of the best WP themes out there, and I obsessively check out new themes all the time.

    Thanks!

    Michelle
    •  
      CommentAuthormichelle
    • CommentTimeMay 16th 2010
     
    Update: I just checked and the header image I describe above is actually in the second "blurb" area. I can show a top nav if I remove the title/info from the "general settings" page (since it already appears in the image header), but I need the title to be there for browser title and SEO reasons.
    •  
      CommentAuthormichelle
    • CommentTimeMay 16th 2010
     
    also: earlier attempts are here:
    http://forum.gazellethemes.com/comments.php?DiscussionID=77&page=1#Item_7
    •  
      CommentAuthorBryan
    • CommentTimeMay 18th 2010
     
    First of all, beautiful work with the theme! It looks great!

    Have you edited header.php? It seems that the nav should still work with an image selected (unless my memory fails me. Where did you want the nav located now?
    •  
      CommentAuthormichelle
    • CommentTimeJun 4th 2010
     
    Thanks!
    I have "Image" selected for Blurb Style. I also have "show top navigation widget" and "show home in nav" checked. The top two in that list are unchecked. The nav items don't appear.
    As I mentioned the whole field is one big image (title, descrption and images) rather than using the actual title field and description field, I remember having to do it that way to be able to include the image?
    I would like the nav to appear anywhere at the top, really. The standard space–where it's supposed to appear–across from where the actual blog title would be if I were using it is fine, I think.

    I may have in fact modified the header .php file (I did this work about a year ago and left it for a while, now diving back ing). I'll paste the code below:
    •  
      CommentAuthormichelle
    • CommentTimeJun 4th 2010 edited
     
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>

    <?php //set values
    $chp_feedburner_id_name = get_option(chp_feedburner_id_name);
    $chp_blurb_style = get_option(chp_blurb_style);
    ?>

    <head profile="http://gmpg.org/xfn/11">
    <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
    <link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/reset.css" type="text/css" media="screen" />
    <?php if ( $chp_feedburner_id_name == 'Enter your Feedburner name here.' || !$chp_feedburner_id_name ) : ?>
    <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
    <?php elseif ( $chp_feedburner_id_name ) : ?>
    <link rel="alternate" type="application/rss+xml" title="Feedburner" href="http://feeds.feedburner.com/<?php echo $chp_feedburner_id_name;?>"/>
    <?php endif; ?>
    <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />

    <title><?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> &raquo; Blog Archive <?php } ?> <?php wp_title(); ?></title>
    <?php wp_head(); ?>

    <!--[if IE]&gt;&lt;link rel=&quot;stylesheet&quot; href=&quot;&lt;?php bloginfo('stylesheet_directory'); ?&gt;/ie.css&quot; type=&quot;text/css&quot; media=&quot;screen&quot; /&gt;&lt;![endif]-->
    </head>

    <body>

    <?php // this entire tag is unimportant, unless you plan on using my theme switcher plugin. you can delete this, or leave it, no harm no foul.
    if (function_exists('theme_switcher_bar')) {
    $buylink = "http://www.gazellethemes.com/clean-home-big-picture-minimalism/#content";
    theme_switcher_bar($buylink);
    } ?>

    <div id="wrapper">
    <div id="header"><?php if ( get_option(chp_top_head) == true ) : ?>
    <div id="logo">
    <h1>
    <a href="<?php echo get_option('home'); ?>"><?php bloginfo('name'); ?></a></h1>
    <?php if ( get_option(chp_blog_description) == true ) : ?><h2><?php bloginfo('description'); ?></h2><?php endif; ?>
    </div>
    <?php if ( get_option(chp_top_nav) == true ) : ?>
    <div id="nav">
    <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Top Navigation') ) : ?>
    <ul>
    <?php if ( get_option(chp_nav_home_button) == true ) : ?><li><a href="<?php echo get_option('home'); ?>">Home</a></li><?php endif; ?>
    <?php wp_list_pages('title_li='); ?>
    </ul>
    <?php endif; ?>
    </div>
    <?php endif; ?>
    </div>
    <?php endif; ?>


    <?php if ( $chp_blurb_style == 'Static Text' ) : ?>

    <div id="blurb">
    <?php echo stripslashes(get_option(chp_blurb_static_text)); ?>
    </div>

    <?php elseif ( $chp_blurb_style == 'Twitter' ) : ?>

    <div id="blurb">
    <?php echo twitter_status(get_option(chp_twitter_user)); ?>
    </div>

    <?php elseif ( $chp_blurb_style == 'Selected Text' ) : ?>
    <?php if (have_posts()) : the_post(); ?>
    <div id="blurb">
    <?php
    if ( is_home() ) :
    echo stripslashes(get_option(chp_blurb_static_text));
    elseif ( get_post_meta($post->ID, "blurb", true) ) :
    echo stripslashes(get_post_meta($post->ID, "blurb", true));
    else :
    echo stripslashes(randomization(explode("|", get_option("chp_blurb_random_text"))));
    endif;?>
    </div>
    <?php endif;
    rewind_posts(); ?>

    <?php elseif ( $chp_blurb_style == 'Random Text' ) : ?>

    <div id="blurb">
    <?php echo stripslashes(randomization(explode("|", get_option("chp_blurb_random_text")))); ?>
    </div>

    <?php elseif ( $chp_blurb_style == 'Image' ) : ?>

    <div id="imageblurb">
    <?php if ( get_option(chp_link_blurb_image) == true ) : ?><a style="border:0 !important;" href="<?php echo get_option('home'); ?>"><?php endif; ?><img src="<?php echo get_option(chp_blurb_image); ?>" width="900" height="150"/><?php if ( get_option(chp_link_blurb_image) == true ) : ?></a><?php endif; ?>
    </div>

    <?php elseif ( $chp_blurb_style == 'Image and Text' ) : ?>

    <div id="imageblurb">
    <?php if ( get_option(chp_link_blurb_image) == true ) : ?><a style="border:0 !important;" href="<?php echo get_option('home'); ?>"><?php endif; ?><img src="<?php echo get_option(chp_blurb_image); ?>" width="900" height="150"/><?php if ( get_option(chp_link_blurb_image) == true ) : ?></a><?php endif; ?>
    </div>

    <div id="blurb">
    <?php
    if ( is_home() ) :
    echo stripslashes(get_option(chp_blurb_static_text));
    elseif ( get_post_meta($post->ID, "blurb", true) ) :
    echo stripslashes(get_post_meta($post->ID, "blurb", true));
    else :
    echo stripslashes(randomization(explode("|", get_option(chp_blurb_random_text))));
    endif;?>
    </div>
    <?php rewind_posts(); ?>

    <?php endif; ?>
    •  
      CommentAuthorBryan
    • CommentTimeJun 7th 2010
     
    You could try the code as below:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>

    <?php //set values
    $chp_feedburner_id_name = get_option(chp_feedburner_id_name);
    $chp_blurb_style = get_option(chp_blurb_style);
    ?>

    <head profile="http://gmpg.org/xfn/11">
    <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
    <link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/reset.css" type="text/css" media="screen" />
    <?php if ( $chp_feedburner_id_name == 'Enter your Feedburner name here.' || !$chp_feedburner_id_name ) : ?>
    <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
    <?php elseif ( $chp_feedburner_id_name ) : ?>
    <link rel="alternate" type="application/rss+xml" title="Feedburner" href="http://feeds.feedburner.com/<?php echo $chp_feedburner_id_name;?>"/>
    <?php endif; ?>
    <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />

    <title><?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> &raquo; Blog Archive <?php } ?> <?php wp_title(); ?></title>
    <?php wp_head(); ?>

    <!--[if IE]&gt;&lt;link rel=&quot;stylesheet&quot; href=&quot;&lt;?php bloginfo('stylesheet_directory'); ?&gt;/ie.css&quot; type=&quot;text/css&quot; media=&quot;screen&quot; /&gt;&lt;![endif]-->
    </head>

    <body>

    <?php // this entire tag is unimportant, unless you plan on using my theme switcher plugin. you can delete this, or leave it, no harm no foul.
    if (function_exists('theme_switcher_bar')) {
    $buylink = "http://www.gazellethemes.com/clean-home-big-picture-minimalism/#content";
    theme_switcher_bar($buylink);
    } ?>

    <div id="wrapper">
    <div id="header"><?php if ( get_option(chp_top_head) == true ) : ?>
    <div id="logo">
    <h1>
    <a href="<?php echo get_option('home'); ?>"><?php bloginfo('name'); ?></a></h1>
    <?php if ( get_option(chp_blog_description) == true ) : ?><h2><?php bloginfo('description'); ?></h2><?php endif; ?>
    </div>
    </div>
    <?php endif; ?>


    <?php if ( $chp_blurb_style == 'Static Text' ) : ?>

    <div id="blurb">
    <?php echo stripslashes(get_option(chp_blurb_static_text)); ?>
    </div>

    <?php elseif ( $chp_blurb_style == 'Twitter' ) : ?>

    <div id="blurb">
    <?php echo twitter_status(get_option(chp_twitter_user)); ?>
    </div>

    <?php elseif ( $chp_blurb_style == 'Selected Text' ) : ?>
    <?php if (have_posts()) : the_post(); ?>
    <div id="blurb">
    <?php
    if ( is_home() ) :
    echo stripslashes(get_option(chp_blurb_static_text));
    elseif ( get_post_meta($post->ID, "blurb", true) ) :
    echo stripslashes(get_post_meta($post->ID, "blurb", true));
    else :
    echo stripslashes(randomization(explode("|", get_option("chp_blurb_random_text"))));
    endif;?>
    </div>
    <?php endif;
    rewind_posts(); ?>

    <?php elseif ( $chp_blurb_style == 'Random Text' ) : ?>

    <div id="blurb">
    <?php echo stripslashes(randomization(explode("|", get_option("chp_blurb_random_text")))); ?>
    </div>

    <?php elseif ( $chp_blurb_style == 'Image' ) : ?>

    <div id="imageblurb">
    <?php if ( get_option(chp_link_blurb_image) == true ) : ?><a style="border:0 !important;" href="<?php echo get_option('home'); ?>"><?php endif; ?><img src="<?php echo get_option(chp_blurb_image); ?>" width="900" height="150"/><?php if ( get_option(chp_link_blurb_image) == true ) : ?></a><?php endif; ?>
    </div>


    <?php if ( get_option(chp_top_nav) == true ) : ?>
    <div id="nav">
    <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Top Navigation') ) : ?>
    <ul>
    <?php if ( get_option(chp_nav_home_button) == true ) : ?><li><a href="<?php echo get_option('home'); ?>">Home</a></li><?php endif; ?>
    <?php wp_list_pages('title_li='); ?>
    </ul>
    <?php endif; ?>
    </div>
    <?php endif; ?>

    <?php elseif ( $chp_blurb_style == 'Image and Text' ) : ?>

    <div id="imageblurb">
    <?php if ( get_option(chp_link_blurb_image) == true ) : ?><a style="border:0 !important;" href="<?php echo get_option('home'); ?>"><?php endif; ?><img src="<?php echo get_option(chp_blurb_image); ?>" width="900" height="150"/><?php if ( get_option(chp_link_blurb_image) == true ) : ?></a><?php endif; ?>
    </div>

    <div id="blurb">
    <?php
    if ( is_home() ) :
    echo stripslashes(get_option(chp_blurb_static_text));
    elseif ( get_post_meta($post->ID, "blurb", true) ) :
    echo stripslashes(get_post_meta($post->ID, "blurb", true));
    else :
    echo stripslashes(randomization(explode("|", get_option(chp_blurb_random_text))));
    endif;?>
    </div>
    <?php rewind_posts(); ?>

    <?php endif; ?>
    •  
      CommentAuthormichelle
    • CommentTimeJun 16th 2010
     
    Ok, tried it, it looks great, that's what I wanted. Thanks so much! Should work, as long as i can use widgets up there. I put my tag cloud in there for now.

    Thanks so much for your help!
    michelle
    •  
      CommentAuthorAdBuster
    • CommentTimeAug 29th 2010
     
    Hey guys, I copy asted this code to my blog for the exact same reasons, but the menu is align to the right, is it possible to know how you've manage to align it to the left?

    Cheers!

    Fred
    http://fredranger.com