MyBB Community Forums

Full Version: Template Problem (Header)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
So I accidentally deleted something in my header and I messed a bunch of stuff up. I cannot reupload the theme's XML because I had thought the database was the templates, not XML. I have a database upload from yesterday that I would have no problem using. I also have access to R1 soft file replacing.

My site is http://socialforever.net and please help me. Sad
Look like your code has been messed up do you have the code to your header? We could fix the code for you and you just replace it....

Post it up and we will be happy to fix the code.

And to why it happened what internet are you using?
The code used to be similar to this below. But it is centering EVERYTHING on the forum,

<!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" xml:lang="en" lang="en">

<head>
<link rel="stylesheet" href="/ct/style.css" type="text/css" />
</head>

<body>
<div id="head">
	<div id="navigation">
		<div class="container">
			<a href="index.html" id="logo"></a>
			<ul id="menu">	
{$welcomeblock}</ul>
		</div>
	</div>
	<div id="header">
		<div class="container">
			<div id="header-description">
				<h1 class="title" id="blog-title">community<span></span></h1>
				<h1 class="title title-detail" id="blog-title-detail">Discuss. Play. Chat.<span></span></h1>
			</div>
			<form id="search" action="">
				<input type="text" name="search" value="" />
				<button name="submit" type="submit" id="search-submit" value="Submit"></button>
			</form>
		</div>
	</div>
</div>

		<hr class="hidden" />
		<br class="clear" />
		<div class="container">
		<div id="content">
			{$pm_notice}
			{$bannedwarning}
			{$bbclosedwarning}
			{$unreadreports}
			{$pending_joinrequests}
			<navigation>
			<br />

Please feel free to edit all
It shoudn't be centering... Umm I dont really know why its centering....
In your global.css, under the body sector, you have the text-align property set to center. Remove that, and it should fix your issue.
Could you post the whole header/global template?