Page 1 of 2

Change headerbar background-image according to location

Posted: 04 Mar 2010, 22:05
by Stoker
Change headerbar background-image according to location

Author: Stoker
Description:
This little guide will teach You how to make the headerbar back-ground image change according to the location.
It will show different back-ground images on index, viewforum and viewtopic.
This guide is optimized to the Prosilver SE style, but cut easily be adapted to all other styles.

Moved here: viewtopic.php?f=45&t=1258

Re: Change headerbar background-image according to location

Posted: 13 Apr 2010, 16:31
by Fire-Fox
Don't you mean

Code: Select all

<div class="header-bar">
instead of

Code: Select all

<div class="headerbar">

Re: Change headerbar background-image according to location

Posted: 13 Apr 2010, 16:41
by Stoker
No, but the code you posted is for SE Pro.

The code from first post is for prosilver and can be adapted to other styles without any problem.

Re: Change headerbar background-image according to location

Posted: 13 Apr 2010, 16:45
by Fire-Fox
What should i look for in SE Pro?

Re: Change headerbar background-image according to location

Posted: 13 Apr 2010, 16:51
by Stoker
Well, as you postet in your previous post ;)

Re: Change headerbar background-image according to location

Posted: 13 Apr 2010, 16:53
by Fire-Fox
Great working now :)

Re: Change headerbar background-image according to location

Posted: 18 Jun 2010, 17:11
by Lembamjunior
Hi Stoker,

Is there a way to heighten the header so the background image will fit? :)

Thanks,

Lembamjunior

Re: Change headerbar background-image according to location

Posted: 18 Jun 2010, 17:24
by Stoker
Yes, open colours.css and find the headerbar class.
Add a height to it.

Re: Change headerbar background-image according to location

Posted: 18 Jun 2010, 17:52
by Lembamjunior
Thanks Stoker! :D

I only get a small issue with the corners, see attachment.

Regards,

Lembamjunior
header_height_screenshot.png

Re: Change headerbar background-image according to location

Posted: 18 Jun 2010, 18:02
by Stoker
read second and third post ;)