Page 1 of 1

Footer Problem

Posted: Sun Feb 25, 2007 7:50 pm
by northern
Im basing my own theme around s9y_orange template which is pretty basic and all the themes that have footers seem to have .tpl files.

so my question is

"Whats the minimum I need to do to add a footer!"

also it has a rollover link in it... so the footer is comprised of 4 images
3 show all the time and the 4th is the rollover.

Could anyone point me in the right direction please :)
I'd prefer it to all be css if possible as I dont really want .tpl file just for a footer.


so far its this www.blog.workingclassheroes.co.uk

Al.

Re: Footer Problem

Posted: Mon Feb 26, 2007 12:10 am
by yellowled
northern wrote:I'd prefer it to all be css if possible as I dont really want .tpl file just for a footer.
There's no way to do this with CSS only - you simply can't add a link with CSS only :)

You need to copy the file index.tpl from /templates/default to your template's directory. Edit this copied index.tpl like this (the lines I marked with a * have to be added without the *):

Code: Select all

{if $is_embedded != true}
*<div id="footer">
*<a href="YOUR_URL">YOUR_LINK</a>
*</div>
</body>
Now add the necessary CSS code to your style.css.

YL

Posted: Tue Feb 27, 2007 9:02 pm
by northern
thank you!