Changing header to different image?

English Style Support
myles
Newbie
Newbie
Beiträge: 2
Registriert: Do 29. Apr 2010, 21:42

Changing header to different image?

Beitrag von myles »

Hey man love the style, but one issue i'm having. I created a header that is 1200x200 but i don't want to insert it as the "logo" i have a different image for that. I want to replace the black and white striped background with the image that i have created. Can you help me out on how to do that?

myles
Newbie
Newbie
Beiträge: 2
Registriert: Do 29. Apr 2010, 21:42

Re: Changing header to different image?

Beitrag von myles »

Alright figured out where the image was and got everything working great. Have one more issue now though, if you resize the browser it cuts off the image on the left and the right, i want to make it so the left part of the image is always shown and it will just cut off the image from the right as different resolutions are used, do you know how i might do that? Thanks a ton!!

Benutzeravatar
Marc
Administrator
Administrator
Beiträge: 619
Registriert: Di 2. Sep 2008, 23:48
phpbb.com: Marc
Wohnort: Munich

Re: Changing header to different image?

Beitrag von Marc »

Open styles/proFormell/theme/colours.css
Find:

Code: Alles auswählen

.headerbar {
	background: #FFFFFF url("{T_THEME_PATH}/images/header_bg.gif") no-repeat 50% 0;
	max-width: 1400px;
	height: 150px;
	color: #FFFFFF;
	margin: 0 auto;
	margin-bottom: 4px;
	min-width: 590px;
}
Replace with:

Code: Alles auswählen

.headerbar {
	background: #FFFFFF url("{T_THEME_PATH}/images/header_bg.gif") no-repeat 0 0;
	max-width: 1400px;
	height: 150px;
	color: #FFFFFF;
	margin: 0 auto;
	margin-bottom: 4px;
	min-width: 590px;
}
If you already changed your image there, just change 50% to 0 after no-repeat.

P.S: Moving to styles support.
Bild