Title: [CSS / HTML] Footer
Last modified: August 31, 2016

---

# [CSS / HTML] Footer

 *  [extan](https://wordpress.org/support/users/extan/)
 * (@extan)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/css-html-footer/)
 * Hi !
 * I want to keep my footer at the bottom of the page when the page is too short.
   I was constantly redirected to this [website](http://ryanfait.com/resources/footer-stick-to-bottom-of-page/).
 * I tried to adapt the code to my theme (a child theme of Sydney), but I cannot
   get the desired effect : [my website](http://asso-addam.fr/index.php/evenements/)
 * This is the code
 *     ```
       /* STICKY FOOTER */
       * {
       margin: 0;
       }
       html, body {
       height: 100%;
       }
       .page-wrap {
       min-height: 100%;
       height: auto !important;
       height: 100%;
       margin: 0 auto -4em;
       }
       .site-footer, .push {
       height: 4em;
       }
       ```
   
 * I don’t really understand how I am supposed to modify the HTML code either. I
   thought it was automatically generated by the php functions …
 * Right now, the more I read, the less I get, could someone help me with it ?
 * Thank you ! =)

The topic ‘[CSS / HTML] Footer’ is closed to new replies.

## Tags

 * [css](https://wordpress.org/support/topic-tag/css/)
 * [footer](https://wordpress.org/support/topic-tag/footer/)
 * [html](https://wordpress.org/support/topic-tag/html/)

 * 0 replies
 * 1 participant
 * Last reply from: [extan](https://wordpress.org/support/users/extan/)
 * Last activity: [10 years, 1 month ago](https://wordpress.org/support/topic/css-html-footer/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
