Alter height of the bg_header

For support and discussion related to templates, themes, and imagesets in phpBB 3.0.
Get Involved
User avatar
echo2k5
Registered User
Posts: 197
Joined: Sun May 21, 2006 6:09 pm
Location: 3 paces to the west.
Contact:

Alter height of the bg_header

Post by echo2k5 »

How do I alter the size of the table that the bg_header.gif goes in in the header? this is the prosilver theme I'm using and I just want to remove the logo and use an image for the background, but I need to make it 150px in height instead of the default 92px, I cannot seem to locate where to alter that size? I've tried sevearal times to use a larger logo and it never stays inside the table, I am running fixed width.
miles_
Registered User
Posts: 16
Joined: Sun Sep 24, 2006 5:15 pm

Re: Alter height of the bg_header

Post by miles_ »

Good question. I can't find it in any of the css. :|
IFATCA
Registered User
Posts: 170
Joined: Sun Feb 09, 2003 5:21 pm

Re: Alter height of the bg_header

Post by IFATCA »

Is it possible to change the backround colour of the Prosilver header from blue to the pale gray that is immediately below it?

Thanks
miles_
Registered User
Posts: 16
Joined: Sun Sep 24, 2006 5:15 pm

Re: Alter height of the bg_header

Post by miles_ »

@ IFATCA:
If you want to change the background color of the header you need to edit the bg_header.gif.
IFATCA
Registered User
Posts: 170
Joined: Sun Feb 09, 2003 5:21 pm

Re: Alter height of the bg_header

Post by IFATCA »

miles_ wrote: If you want to change the background color of the header you need to edit the bg_header.gif.
Thanks miles, managed that OK, do you know how I change the colour of the title text in the header?

Rob
miles_
Registered User
Posts: 16
Joined: Sun Sep 24, 2006 5:15 pm

Re: Alter height of the bg_header

Post by miles_ »

IFATCA wrote:
miles_ wrote: If you want to change the background color of the header you need to edit the bg_header.gif.
Thanks miles, managed that OK, do you know how I change the colour of the title text in the header?

Rob
colours.css

Code: Select all

h1 {
	color: #FFFFFF;
}
IFATCA
Registered User
Posts: 170
Joined: Sun Feb 09, 2003 5:21 pm

Re: Alter height of the bg_header

Post by IFATCA »

Forigive my ignorance but are the characters FFFFFF the code for white, and if so where do I find the code for other colours?
User avatar
Ash Hi Fi Zone
Registered User
Posts: 409
Joined: Fri Feb 09, 2007 11:55 am

Re: Alter height of the bg_header

Post by Ash Hi Fi Zone »

IFATCA wrote:Forigive my ignorance but are the characters FFFFFF the code for white, and if so where do I find the code for other colours?
The colours for all the classes and ids are defined only in colours.css and nowhere else (I say it again look nowhere else and get confused)....
cu_long_than
Registered User
Posts: 43
Joined: Tue Nov 13, 2007 2:48 pm

Re: Alter height of the bg_header

Post by cu_long_than »

How can I change the height of bg_header which is display in my forum?
( As the question: "How do I alter the size of the table that the bg_header.gif goes in in the header?" of echo2k5)
Awinee
Registered User
Posts: 86
Joined: Tue Jun 02, 2009 7:48 pm

Re: Alter height of the bg_header

Post by Awinee »

Open common.css and find:

Code: Select all

.headerbar {
Below add:

Code: Select all

height: 121px;
Change the 121px to any height u want.

In the end this is how it should look like:

Code: Select all

.headerbar {
	background: #121212 none repeat-x 0 0;
	color: #FFFFFF;
	margin-bottom: 6px;
	padding: 0 5px;
	height: 121px;
	background-repeat: no-repeat;
}
When done, upload common.css into: /forumdirectory/styles/stylename/theme/ and delete ur cache.
cu_long_than
Registered User
Posts: 43
Joined: Tue Nov 13, 2007 2:48 pm

Re: Alter height of the bg_header

Post by cu_long_than »

It is not working, my bg_header has 263 pixels in height, I add height: 500px; in common.css and clear the cache but this is my bg_header looks like:
Image
And my origin bg_header is:
Image
:(
Awinee
Registered User
Posts: 86
Joined: Tue Jun 02, 2009 7:48 pm

Re: Alter height of the bg_header

Post by Awinee »

Code: Select all

margin-bottom: 6px;

Try messing arround with that a bit. Put it to 100px and see what it does. Also, don't give height 500px, make it the height of ur image.

Seeing im not a pro at this, i tend to mess arround a bit untill its right :)
cu_long_than
Registered User
Posts: 43
Joined: Tue Nov 13, 2007 2:48 pm

Re: Alter height of the bg_header

Post by cu_long_than »

It still not working, with the same problem. Anyway, thank all of you.
mr.beery
Registered User
Posts: 51
Joined: Fri Oct 28, 2005 1:30 pm
Location: Bangkok , Thailand
Contact:

Re: Alter height of the bg_header

Post by mr.beery »

cu_long_than wrote:It still not working, with the same problem. Anyway, thank all of you.
try refresh theme style in ACP
cu_long_than
Registered User
Posts: 43
Joined: Tue Nov 13, 2007 2:48 pm

Re: Alter height of the bg_header

Post by cu_long_than »

I refresh the theme in ACP in many time, but the ruslt still appear as the first image I post above.
Locked

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