how to center the header image in my styles...

Adjustments to existing phpBB3 styles
User avatar
spaceace
Site Owner
Posts: 943
Joined: Wed Dec 16, 2009 8:30 pm
Location: Ontario, Canada
Flag: Canada

how to center the header image in my styles...

Post by spaceace » Wed Dec 22, 2010 10:33 pm

open /template/overall_header.html
find
Code: Select all
				<h1>{SITENAME}</h1>
				<p>{SITE_DESCRIPTION}</p>
replace with
Code: Select all
<!-- 				<h1>{SITENAME}</h1>
				<p>{SITE_DESCRIPTION}</p> -->
open /theme/common.css
find
Code: Select all
#site-description {
	float: left;
	width: 70%;
}
replace with
Code: Select all
#site-description {
	text-align: center;
}
find
Code: Select all
#logo {
	float: left;
	width: auto;
	padding: 0 13px 0 10px;
}
replace with
Code: Select all
#logo {
	text-align: center;
	width: auto;
	padding: 0 10px 0 10px;
}
Last edited by spaceace on Tue Feb 26, 2013 10:29 am, edited 2 times in total.

if you like my work and would like to contribute to my development of styles, please donate by using the donate button in the header.

Image

Image

User avatar
Clarence
Registered User
Posts: 23
Joined: Sun Dec 11, 2011 11:35 am
Location: Bellwood, IL USA
Flag: United States of America

Re: how to center the header image in my styles...

Post by Clarence » Mon Jan 09, 2012 6:04 am

I'm using a .PNG for my logo (main logo). How do I get that to be centered on my header?
Last edited by Clarence on Tue Feb 26, 2013 10:29 am, edited 2 times in total.
One sure way to make your dreams come true . . . . WAKE UP !

User avatar
spaceace
Site Owner
Posts: 943
Joined: Wed Dec 16, 2009 8:30 pm
Location: Ontario, Canada
Flag: Canada

Re: how to center the header image in my styles...

Post by spaceace » Tue Jan 10, 2012 8:31 am

Clarence wrote:I'm using a .PNG for my logo (main logo). How do I get that to be centered on my header?
the post above yours tells you how to center the logo.
Last edited by spaceace on Tue Feb 26, 2013 10:29 am, edited 2 times in total.
if you like my work and would like to contribute to my development of styles, please donate by using the donate button in the header.

Image

Image

User avatar
adrianafooshi
Newly Registered User
Posts: 1
Joined: Sat Jan 05, 2019 10:34 pm
Flag: Andorra

Re: how to center the header image in my styles...

Post by adrianafooshi » Sat Jan 05, 2019 10:54 pm

m using a .PNG for my logo (main logo). How do I get that to be centered on my header?

attitude sttaus in hindi

User avatar
spaceace
Site Owner
Posts: 943
Joined: Wed Dec 16, 2009 8:30 pm
Location: Ontario, Canada
Flag: Canada

Re: how to center the header image in my styles...

Post by spaceace » Mon Jan 21, 2019 6:03 pm

adrianafooshi wrote:
Sat Jan 05, 2019 10:54 pm
m using a .PNG for my logo (main logo). How do I get that to be centered on my header?

attitude sttaus in hindi
looking at the link you posted and i don't see a header image at all so i can't really help much ;)
if you like my work and would like to contribute to my development of styles, please donate by using the donate button in the header.

Image

Image

User avatar
Sniper_E
Sniper_E
Posts: 29
Joined: Sat Apr 13, 2013 2:35 pm
Flag: United States of America

Re: how to center the header image in my styles...

Post by Sniper_E » Tue Jan 22, 2019 1:03 am

He's spamming, selling something there.
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!

User avatar
spaceace
Site Owner
Posts: 943
Joined: Wed Dec 16, 2009 8:30 pm
Location: Ontario, Canada
Flag: Canada

Re: how to center the header image in my styles...

Post by spaceace » Tue Jan 22, 2019 7:20 am

Sniper_E wrote:
Tue Jan 22, 2019 1:03 am
He's spamming, selling something there.
very possible. but, i've ended up doing work for a few people that had posted like that. and if it ends up being a spammer in the end... they are gone :lol:
if you like my work and would like to contribute to my development of styles, please donate by using the donate button in the header.

Image

Image