Simple help on header of of WordPress

Discussion in 'WordPress' started by aproxaday, May 17, 2011.

  1. #1
    this is my website:
    http://canadianwhiskeys.com/
    As you can see it doesn't look good with the Canadian Whiskey text over the header.
    I want to completely remove the text from ontop of the header picture.
    Here is my header.php file:
    <!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(); ?>>
    
    <head profile="http://gmpg.org/xfn/11">
    
    <meta http-equiv="Content-Type" content="<?php bloginfo('html_type') ?>; charset=<?php bloginfo('charset') ?>" />
    
    <title><?php wp_title( '|', true, 'right' ); bloginfo( 'name' ); ?></title>
    
    <link rel="stylesheet" href="<?php bloginfo('stylesheet_url') ?>" type="text/css" media="screen" />
    
    <!--[if IE 6]><link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/style.ie6.css" type="text/css" media="screen" /><![endif]-->
    
    <!--[if IE 7]><link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/style.ie7.css" type="text/css" media="screen" /><![endif]-->
    
    <?php if(WP_VERSION < 3.0): ?>
    
    <link rel="alternate" type="application/rss+xml" title="<?php printf(__('%s RSS Feed', THEME_NS), get_bloginfo('name')); ?>" href="<?php bloginfo('rss2_url'); ?>" />
    
    <link rel="alternate" type="application/atom+xml" title="<?php printf(__('%s Atom Feed', THEME_NS), get_bloginfo('name')); ?>" href="<?php bloginfo('atom_url'); ?>" />
    
    <?php endif; ?>
    
    <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
    
    <?php if (is_file(TEMPLATEPATH .'/favicon.ico')):?>
    
    <link rel="shortcut icon" href="<?php bloginfo('template_directory'); ?>/favicon.ico" />
    
    <?php endif; ?>
    
    <?php 
    
    remove_action('wp_head', 'wp_generator');
    
    wp_enqueue_script('jquery');
    
    if (is_singular() && comments_open() && (get_option('thread_comments') == 1)) {
    
     wp_enqueue_script('comment-reply'); 
    
    }
    
    wp_head(); 
    
    ?>
    
    <script type="text/javascript" src="<?php bloginfo('template_url'); ?>/script.js"></script>
    
    </head>
    
    <body <?php if(function_exists('body_class')) body_class(); ?>>
    
    <?php 
    
    ob_start();
    
    
    Code (markup):

     
    aproxaday, May 17, 2011 IP
  2. blackking

    blackking Well-Known Member

    Messages:
    273
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    113
    #2
    Its seems like not in header.php please provide your index.php then let me look for it :)
     
    blackking, May 17, 2011 IP
  3. clau

    clau Guest

    Messages:
    57
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    You could use the View Page Source function from your browser. Every browser has a similar function and it allows you to see the HTML code of the entire page, as the user and the search engines sees your page.

    The things you need to remove is not in the header.php or you have not copied all the header.php here. The two lines you have displayed there are the site title and the tag line. You should check where these are displayed and remove those parts.

    In your case it looks like this in HTML
                    <div class="art-logo">
                    <h1 id="name-text" class="art-logo-name">
                            <a href="http://canadianwhiskeys.com/">Canadian Whiskeys</a></h1>
                        <h2 id="slogan-text" class="art-logo-text">Information about the culture and history of Canadian Whiskeys</h2>
                    </div>
    
    HTML:
    If you search your files for <div class="art-logo"> you should find where these lines are displayed.
     
    clau, May 17, 2011 IP
  4. aproxaday

    aproxaday Member

    Messages:
    126
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    28
    #4
    thanks to both of you i figured it out.
    it was in the /template/page.php file, somewhere i never would of thought to look
     
    aproxaday, May 18, 2011 IP