Change headerbar background-image according to location
- Lembamjunior
- BBCoder I
- Posts: 4
- Joined: 17 Mar 2010, 14:43
Re: Change headerbar background-image according to location
Hi Stoker.
I applied the changes for SE Pro by changing headerbar to header-bar in template and CSS, but then the corners where completely gone.
I think it's because I'm using the regular prosilver SE.
Thanks for your help,
Lembamjunior
I applied the changes for SE Pro by changing headerbar to header-bar in template and CSS, but then the corners where completely gone.
I think it's because I'm using the regular prosilver SE.
Thanks for your help,
Lembamjunior
- Stoker
- Site Admin
- Posts: 3558
- Joined: 12 May 2008, 23:26
- BBCodes: 239
- Favourite BBCode: Anipro
- Favourite MOD: PrettyPhoto
- Location: Denmark
- Contact:
Re: Change headerbar background-image according to location
Try setting the height for .description instead.
Board rules! No PM support
- Lembamjunior
- BBCoder I
- Posts: 4
- Joined: 17 Mar 2010, 14:43
Re: Change headerbar background-image according to location
Thanks Stoker, that turned out very well!
Re: Change headerbar background-image according to location
one question Stoker
the images i must have uploded in the style what must be there size?
the images i must have uploded in the style what must be there size?
- Stoker
- Site Admin
- Posts: 3558
- Joined: 12 May 2008, 23:26
- BBCodes: 239
- Favourite BBCode: Anipro
- Favourite MOD: PrettyPhoto
- Location: Denmark
- Contact:
Re: Change headerbar background-image according to location
Size is up to you but I will suggest that you use a size that fit the style.
Board rules! No PM support
Re: Change headerbar background-image according to location
thanks for the sugesstion
Re: Change headerbar background-image according to location
Hi guys,
how do I manage to alter the background-image according to other locations, like for example the geomap, or the gallery.
It would be interesting to get to know, how to manage this predefined image-change for other locations as well, like selfmade static-pages.., for example.
Best regards,
Philipp
how do I manage to alter the background-image according to other locations, like for example the geomap, or the gallery.
It would be interesting to get to know, how to manage this predefined image-change for other locations as well, like selfmade static-pages.., for example.
Best regards,
Philipp
Re: Change headerbar background-image according to location
well whatever the php page name is you use this:
if the page is geomap.php you put geomap where it says "page name here" and so on! i think for the gallery you would use "gallery/index"
you'll get the idea!
Code: Select all
<!-- ELSEIF SCRIPT_NAME == "page name here" --><div class="headerbar" style="background-image: url({T_THEME_PATH}/images/name_of_image.jpg); background-position: top;">
you'll get the idea!
Re: Change headerbar background-image according to location
exactly @gallery/index..
Thx mate!
Thx mate!