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

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

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

Post by spaceace »

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

Need hosting? Click this text to check out ICDSOFT

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 »

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: 991
Joined: Wed Dec 16, 2009 8:30 pm
Location: Ontario, Canada
Flag: Canada
Contact:

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

Post by spaceace »

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

Need hosting? Click this text to check out ICDSOFT

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 »

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: 991
Joined: Wed Dec 16, 2009 8:30 pm
Location: Ontario, Canada
Flag: Canada
Contact:

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

Post by spaceace »

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

Need hosting? Click this text to check out ICDSOFT

User avatar
Sniper_E
Sniper_E
Posts: 31
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 »

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: 991
Joined: Wed Dec 16, 2009 8:30 pm
Location: Ontario, Canada
Flag: Canada
Contact:

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

Post by spaceace »

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

Need hosting? Click this text to check out ICDSOFT

Post Reply