Need help centering website header + Thoughts on this theme?

oksk89

New member
Jun 18, 2009
239
1
0
I decided to go against the purple/pink theme a lot of resveratrol LPs are going for and decided on this one: Resveratrol: The Miracle Anti-Aging Supplement

Any thoughts?

And for the header, how do I get it to center right in the middle? This theme's style.css file actually has nothing in it and the design elements all seem to be coded through the php files.

I've edited the header.php file to get rid of links to RSS feeds and to get rid of a search bar and this is what I have left. As you can see, I've tried applying the <center> command but it only shifts it slightly to the right rather awkwardly.

Any help would be greatly appreciated!

Code:
<?php require_once('functions.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" xml:lang="en" lang="en">

<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>

<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" />

<link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/css/reset.css" type="text/css" media="screen" />
<link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/css/style.css" type="text/css" media="screen" />
<!--[if lte IE 6]>
<link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/css/legacy.css" type="text/css" media="screen" title="no title" charset="utf-8" />
<![endif]-->

<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />

<?php wp_head(); ?>
</head>
<body>

	<div id="header"><div class="inner clear">
		<center><h1><a href="<?php bloginfo('url'); ?>"><?php bloginfo('name'); ?></a></h1></center>
		<ul id="navigation">
			<?php wp_list_pages('title_li=&depth=1'); ?>
			
		</ul>
	</div></div>
	
	
	
	<div id="wrapper" class="clear">
 


a) edit the css
Code:
<body>
    <div id="header"><div class="inner clear">
        <center><h1 style="width:100%;float:none;"><a href="<?php bloginfo('url'); ?>"><?php bloginfo('name'); ?></a></h1></center>
        <ul id="navigation">
            <?php wp_list_pages('title_li=&depth=1'); ?>
            
        </ul>
    </div></div>

your CSS for h1 tag inside the header div does the following:
Code:
div#header h1 (line 26)
{
font-size: 23px;
font-weight: bold;
float: left;
width: 40%;
text-shadow: #2b4462;
letter-spacing: -1px;
}

My code changes should over ride that, but if you want to fix it proper, go into the cs file and delete the float and make width 100%
 
lol yeah i havent touched AM for 2 weeks (shame on me) but as long as I can manage to make 1 sale a day, I'd be happy.
 
1 sale a day? you're seriously expecting yourself to get motivated to make $32-40 gross per day?
 
Well I'm just a college student, so if I can make $35 a day, that'd be sweet.

Granted, making hundreds or thousands a day would be awesome, but I won't have the time to put in that much effort.