Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Adding my own footer?

ntuyelikntuyelik New
edited April 2011 in Vanilla 2.0 - 2.8
I am trying to add my own footer on my vanilla installation.

- First I added <link rel="stylesheet" type="text/css" href="footer.css" media="screen" /> after <head> in default.master.php.
- Then added <div id="footer"></div> after </body> in default.master.php.
- Finally I created a footer.css file in the same folder of default.master.php including below code but it does not work, which fault do I have? ;
#footer { position:absolute; bottom:0; width:100%; height:60px; background:#6cf; }

Here is my site for your code control :


  • LincLinc Detroit Admin
    Nothing may follow </body>. You'll want your footer inside that.
  • I put <div id="footer"></div> before </body>but nothing changes :(
    Nothing may follow </body>. You'll want your footer inside that.
  • LincLinc Detroit Admin
    Your footer.css file likely isn't being linked correctly.
  • <link rel="stylesheet" type="text/css" href="footer.css" media="screen" /> is this wrong? What do you suggest for fixing?
Sign In or Register to comment.