Forums / Templates, Stylesheets, Page Layout / Banner not at bottom of page

Banner not at bottom of page

Views: 982

Results 1 to 5 of 5
19 Jul 2011, 3:38 PM
#1
congerman avatar

congerman

Zen Follower

Join Date:
Oct 2008
Posts:
392
Plugin Contributions:
0

Banner not at bottom of page

Hi, I am using banner footer position one, but my banner will not sit at the bottom of the page it seems to line up vertically just under the product info area.

How can I justify it to always be at the bottom of the page with maybe a 5 pixle gap before my bottom border.

The site is very much a work in progress so please forgive the lack of styling at the moment Link to my site

Thanks in advance

20 Jul 2011, 3:31 AM
#2
usernamenone avatar

usernamenone

Totally Zenned

Join Date:
Sep 2006
Posts:
541
Plugin Contributions:
0

Re: Banner not at bottom of page

open your template/common/tpl_footer.php and make sure your footer banner is in the correct position.

just after the ip address

<!--eof-ip address display -->

Move the banner code where it belongs

<!--eof-ip address display --> <!--bof-banner #5 display -->

Here. It should be between these but someone has moved it

<!--bof-banner #5 display -->

Like this

<!--eof-ip address display --> <!--bof-banner #5 display --> <?php if (SHOW_BANNERS_GROUP_SET5 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET5)) { if ($banner->RecordCount() > 0) { ?> <div id="bannerFive" class="banners"><?php echo zen_display_banner('static', $banner); ?></div> <?php } } ?> <!--eof-banner #5 display --> <!--bof- site copyright display -->

Play with it long enough and you will break it.
20 Jul 2011, 6:30 AM
#3
congerman avatar

congerman

Zen Follower

Join Date:
Oct 2008
Posts:
392
Plugin Contributions:
0

Re: Banner not at bottom of page

Thanks for you imput but that will put it under the ip address out side my page.

When I said I needed it at the bottom of the page ment within my bordered page (center colum ) where it is but down a bit.

I have not altered any code just set that banner on in admin config I think it is banner 4 not 5

20 Jul 2011, 7:50 AM
#4
usernamenone avatar

usernamenone

Totally Zenned

Join Date:
Sep 2006
Posts:
541
Plugin Contributions:
0

Re: Banner not at bottom of page

Ok, so you took the banner code out of the footer and put it at the bottom of product info. The only reason it is setting up is the side boxes stretch your info display down. That banner will change positions on each product info due to + or - product discription.


Play with it long enough and you will break it.
20 Jul 2011, 7:53 AM
#5
congerman avatar

congerman

Zen Follower

Join Date:
Oct 2008
Posts:
392
Plugin Contributions:
0

Re: Banner not at bottom of page

Fixed it

Found the banner 4 php code in tpl_main_page.php

It was in a table with other code vertcally aligned TOP

I split the table into 2 rows and cut the code from the top row for the banner 4 and placed it in the bottom row and then set the bottom row to valign="bottom"