MyBB Community Forums

Full Version: I was editing the header and...
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Well I was changing some minor stuff in the header, replacing ads, trying to give it a cleaner look. I kept refreshing the page after I made a change... one of the times the forum stopped appearing, I thought it was a problem with my internet connection on my end. I was curious so I tried on my phone and other stuff and I got the same problem.

Board url:

http://grayhatworld.com/grayhatworld/index.php

I was editing the template files of: header and header_welcomeblock_guest

What have I done?
Page source is fine. Means that something went wrong inside your header_welcomeblock_guest or header templates.

Can you paste code of both these templates ?
In the header find:
<style type="text/css">
.newsbar {
	background: #383838;
	border-top: 2px solid #076300;
	border-bottom: 2px solid #076300;
	text-align: center;
	margin: 5px aut

Replace with:
<style type="text/css">
.newsbar {
	background: #383838;
	border-top: 2px solid #076300;
	border-bottom: 2px solid #076300;
	text-align: center;
	margin: 5px auto;
}
</style>

Basically, it looks like you deleted more than you meant to and left the style tag open, so it thinks all the HTML is CSS.
So I'm not sure what I did, but I kept fixing the header like I was and it randomly went back to normal... Weird. Solved.