View Full Version : adding a banner
Kas
11th June 2008, 06:38 PM
Not sure if I have asked this one....but here goes anyway. I am trying to add a banner at bottom of my home page actually there will be a few on there to other sites. I had no problem putting it in the html index etc but it displays in the middle of the page not at bottom. I have tried adding the coding down the bottom of the page but that doesnt work either it goes right back to the middle right under some word info I have there.
How does one successfully add links at the very bottom of the page???
kas
d.ferguson
11th June 2008, 09:58 PM
Most of the ezimerchant standard templates will place your banner towards the bottom of the page. You simply paste any banner code into the banner section in ezimerchant and it will place them on the page at the bottom for you. If you have a custom theme then it will depend on where the <#BannerText> is.
lamery
13th June 2008, 09:00 AM
Hi Kas,
There are fundamentally two ways to get content to sit at the bottom of the page (not hover in the middle). One is css the other is with HTML tables. Technically the css way is superior, however, the HTML table way is easier to implement so I will describe it.
Inside one of the ezimerchant theme files (content.htm, categorypage.htm, productpage.htm etc) you need to add a html table that encompasses all of your content, something like:
<table cellspacing="0" cellpadding="0" border="0" width="100%" height="100%">
<tr>
<td height="100%"><<paste the original content of the theme file back in here>></td>
</tr>
<tr>
<td><#BannerText></td>
</tr>
</table>
This will push all your content into the top row of the table, that table will push out to fill the whole page, and the bottom row will get squished in at the bottom and contain the banner content.
vBulletin® v3.7.2, Copyright ©2000-2008, Jelsoft Enterprises Ltd.