Forums

header.php template problems (2 posts)

  1. jeancarlohim
    Member
    Posted 3 years ago #

    I have a theme called widgetized on my blog which us very good, but when I add the name of the blog "eCommerce and Marketing" insteado of putting capitalized letters i get them all in lowercase.
    this is the header code
    <!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 bloginfo('name'); ?> <?php if ( is_single() ) { ?> » Blog Archive <?php } ?> <?php wp_title(); ?></title>
    <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'); ?>" />
    <?php wp_head(); ?>
    </head>
    <body>
    <div id="bg1">
    <div id="header">
    <h1>
    /"><?php bloginfo('name'); ?></h1>
    <h2><?php bloginfo('description'); ?></h2>
    </div>
    <!-- end #header -->
    </div>
    <!-- end #bg1 -->
    <div id="bg2">
    <div id="header2">
    <div id="menu">

      <li class="page_item<?php if (is_home()) echo ' current_page_item'; ?>">/">Home
      <?php wp_list_pages('title_li=' ); ?>

    </div>
    <!-- end #menu -->
    <div id="search">
    <form method="get" action="<?php bloginfo('url'); ?>/">
    <fieldset>
    <input type="text" name="s" value="<?php the_search_query(); ?>" id="s" class="text" />
    <input type="submit" value="Search" class="button" />
    </fieldset>
    </form>
    </div>
    <!-- end #search -->
    </div>
    <!-- end #header2 -->
    </div>
    <!-- end #bg2 -->
    <div id="bg3">
    <div id="bg4">
    <div id="bg5">
    <div id="page">

    i tried looking for somethign to change fonts but i have no idea where to go from now please help!

  2. rtivel
    Member
    Posted 3 years ago #

    First of all, I am not an XHTML or PHP guru. That being said, is the syntax for these statemets correct?

    <h1>/"><?php bloginfo('name'); ?></h1>
    ?>">/">Home

    I don't quite get the /">

    If this isn't the problem, could the CSS file be using the text-transform Property for the <h1> tag?

    I hope this helps.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.