Page 2 of 2
Re: Change headerbar background-image according to location
Posted: 18 Jun 2010, 19:06
by Lembamjunior
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
Re: Change headerbar background-image according to location
Posted: 18 Jun 2010, 21:21
by Stoker
Try setting the height for .description instead.
Re: Change headerbar background-image according to location
Posted: 18 Jun 2010, 22:17
by Lembamjunior
Thanks Stoker, that turned out very well!
Re: Change headerbar background-image according to location
Posted: 22 Jun 2010, 22:43
by billoo
one question Stoker
the images i must have uploded in the style what must be there size?
Re: Change headerbar background-image according to location
Posted: 23 Jun 2010, 04:14
by Stoker
Size is up to you but I will suggest that you use a size that fit the style.
Re: Change headerbar background-image according to location
Posted: 23 Jun 2010, 12:57
by billoo
thanks for the sugesstion
Re: Change headerbar background-image according to location
Posted: 13 Aug 2010, 17:47
by 7emper5i
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
Re: Change headerbar background-image according to location
Posted: 13 Aug 2010, 17:55
by cisco007
well whatever the php page name is you use this:
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;">
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!
Re: Change headerbar background-image according to location
Posted: 13 Aug 2010, 18:01
by 7emper5i
exactly @gallery/index..
Thx mate!