Make Divi Footer Sticky

Posted by George Nicolaou

On 18 Jul, 2017
George Nicolaou - Senior Web Developer

All the required css is shown below

/* start sticky footer*/
#main-footer {
position: fixed;
width: 100%;
bottom: 0;
/* Set footer height */
body #main-footer {
height: 75px ;
#main-content {
margin-bottom: 45px;
/*end sticky footer*/


    • George Nicolaou

      Thanks for letting me know. I used this for a client fir days ago and it was working. I will look into it. Also thanks for pointing me to the github as well so that I can attribute it.


Submit a Comment

Your email address will not be published. Required fields are marked *

Pin It on Pinterest

Share This
Divi Theme Code SnippetsMake Divi Footer Sticky