header image centered

For support and discussion related to templates, themes, and imagesets in phpBB 3.0.
Scam Warning
Locked
Bboy Nellen
Registered User
Posts: 3
Joined: Mon Jul 23, 2007 2:43 pm

header image centered

Post by Bboy Nellen »

So i did som style modifications and placed a image in the header,deleted the logo,...
Now,...

I was wondering how i can center my image in the header (now it's just repeating itselfs....)

thx in advance
GTFO. snuggles
Registered User
Posts: 42
Joined: Mon Feb 04, 2008 1:53 am
Location: Edinburgh, UK

Re: header image centered

Post by GTFO. snuggles »

In colours.css:

Find:

Code: Select all

.headerbar {
	background-color: #12A3EB;
	background-image: url("{T_THEME_PATH}/images/bg_header.gif");
	color: #FFFFFF;
}
Add:

Code: Select all

background-position: center;
background-repeat: no-repeat;
Bboy Nellen
Registered User
Posts: 3
Joined: Mon Jul 23, 2007 2:43 pm

Re: header image centered

Post by Bboy Nellen »

thx a lot

much appreciated
Kingster
Registered User
Posts: 53
Joined: Wed Dec 26, 2007 6:15 pm

Re: header image centered

Post by Kingster »

I have tried this and it will not work for me and have cleared cache and everything.
User avatar
prototech
Former Team Member
Posts: 5406
Joined: Mon Mar 19, 2007 2:04 pm
Location: Southern California

Re: header image centered

Post by prototech »

Did you refresh your theme by going to the ACP => Styles => Style Components => Themes?
Need help with MOD/style installations or other phpBB problems? Contact me for a quote.
Kingster
Registered User
Posts: 53
Joined: Wed Dec 26, 2007 6:15 pm

Re: header image centered

Post by Kingster »

yes do I need to edit more than the files they have listed there?
User avatar
prototech
Former Team Member
Posts: 5406
Joined: Mon Mar 19, 2007 2:04 pm
Location: Southern California

Re: header image centered

Post by prototech »

No. Can you post a link to your board?
Need help with MOD/style installations or other phpBB problems? Contact me for a quote.
Kingster
Registered User
Posts: 53
Joined: Wed Dec 26, 2007 6:15 pm

Re: header image centered

Post by Kingster »

User avatar
prototech
Former Team Member
Posts: 5406
Joined: Mon Mar 19, 2007 2:04 pm
Location: Southern California

Re: header image centered

Post by prototech »

Try replacing the following in common.css:

Code: Select all

#site-description {
	float: left;
	width: 70%;
}
With:

Code: Select all

#site-description {
	float: left;
	width: 70%;
	text-align: center;
}
Need help with MOD/style installations or other phpBB problems? Contact me for a quote.
Kingster
Registered User
Posts: 53
Joined: Wed Dec 26, 2007 6:15 pm

Re: header image centered

Post by Kingster »

That worked for the text but I want to put a image in the whole top bar and do away with the text. I know how to do away with the text but would like a heard all the way acroos the top.
Thanks
User avatar
prototech
Former Team Member
Posts: 5406
Joined: Mon Mar 19, 2007 2:04 pm
Location: Southern California

Re: header image centered

Post by prototech »

Need help with MOD/style installations or other phpBB problems? Contact me for a quote.
Locked

Return to “[3.0.x] Styles Support & Discussion”