Archived

This topic is now archived and is closed to further replies.

  • 0

Sticky Footer


Question

Posted · Report post

How do I create a sticky footer?

 

My 404 page, and any other page that does not have content that spans the height of the page, footer is in the middle of the page, and since my footers background color is different from the body background color, it looks like my site has a bandanna.

 

Any suggestions??

Share this post


Link to post
Share on other sites

4 answers to this question

Posted · Report post

Hi there,

 

The default setting for the height of a page is 400px. So pages without any content will display as you're describing. You can edit this in css.

 

Just paste the following code into Pagelines>site options>custom code and amend the figure to something you feel fits

 

 

#site #page, #site #dynamic-content {

    min-height: 400px;
}

 

Share this post


Link to post
Share on other sites

Posted · Report post

Hi,

 

Can you provide a link to your site please. Also in your profile there is a field that is only visible to moderators, so please add your sites URL there and replace google.com

 

Once we have access to your site, we will be able to assist you further.

Share this post


Link to post
Share on other sites

Posted · Report post

Worked like a charm. Thanks!

Share this post


Link to post
Share on other sites