Wordpress

From annawiki

Multilingual site

Footer

/*******sticky footer********/ html, body {

       height: 100%;

}

  1. ___page {
   min-height:100%;
   position:relative;

} div#content {

 min-height: 100%;
 /* equal to footer height */
 margin-bottom: -240px;

} div#content:after {

 content: "";
 display: block;
 height: 240px;

}

  1. page div.site-content-contain {
   verflow:auto;
   _min-height: 100%;
   adding-bottom: 240px;

}

.page-wrap /*div#content*/{

 min-height: 100%;
 /* equal to footer height */
 margin-bottom: -142px;

} .page-wrap:after /*div#content:after*/{

 content: "";
 display: block;

} .site-footer, _div#content:after {

 height: 240px; 

} .site-footer {

 background: orange;

}


/*******sticky footer********/ html, body {

       height: 100%;

}

  1. page,.site-content-contain {
   min-height:100%;
   osition:relative;

} div#content {

 min-height: 100%;
 /* equal to footer height */
 margin-bottom: -240px;

} div#content:after {

 content: "";
 display: block;
 height: 240px;

}

  1. page div.site-content-contain {
   verflow:auto;
   _min-height: 100%;
   adding-bottom: 240px;

}


  1. colophon{

position:absolute; width:100%; bottom:0px; min-height:200px; } @media screen and (min-width: 48em){.page:not(.home) div#content{ padding-bottom: 200px; } }