Footer Problem

Skinning and designing Serendipity (CSS, HTML, Smarty)
Post Reply
northern
Regular
Posts: 11
Joined: Thu Feb 15, 2007 12:16 am

Footer Problem

Post 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.
yellowled
Regular
Posts: 7111
Joined: Fri Jan 13, 2006 11:46 am
Location: Eutin, Germany
Contact:

Re: Footer Problem

Post 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
northern
Regular
Posts: 11
Joined: Thu Feb 15, 2007 12:16 am

Post by northern »

thank you!
Post Reply