× Support for Joomla 2.5 templates is discontinued. This forum category is read-only.

Force the bottom (copyright) area to stay bottom

More
5 years 7 months ago #5625 by slinks
slinks created the topic: Force the bottom (copyright) area to stay bottom
Hi

How can I force the bottom copyright area to remain at the bottom of the page? If I have limited content on a page it pushes up the page?

Thanks

Please Log in or Create an account to join the conversation.

More
5 years 7 months ago #5631 by artur
artur replied the topic: Force the bottom (copyright) area to stay bottom
Hello,
First you should edit 'index.php' and move 'jm-footer' outside 'jm-allpage'. Example :
<div id="jm-allpage">
   all other divs
</div>
<div id="jm-footer"></div>

Next add css styles :
* {
  margin: 0;
}
html, body {
  height: 100%;
}
#jm-allpage {
  min-height: 100%;
  /* equal to footer height */
  margin-bottom: -79px; 
}
#jm-allpage:after {
  content: "";
  display: block;
}
#jm-footer, #jm-allpage:after {
  /* must be the same height as footer */
  height: 79px; 
}

More detials in article :
css-tricks.com/snippets/css/sticky-footer/

Best Regards.

Please Log in or Create an account to join the conversation.

Time to create page: 0.220 seconds

INDICO S.C.

ul. Wałowa 10/3, 84-200 Wejherowo, registered in Centralna Ewidencja i Informacja o Działalnosci Gospodarczej
NIP/VATID: PL5882424318

Copyright © 2009-2019 Joomla-Monster.com All rights reserved.

Joomla-Monster.com and this site is not affiliated with or endorsed by The Joomla! Project™. Any products and services provided through this site are not supported or warrantied by The Joomla! Project or Open Source Matters, Inc. Use of the Joomla!® name, symbol, logo and related trademarks is permitted under a limited license granted by Open Source Matters, Inc.