Prova cosi:
Nel file ez-pinned-footer.js in rosso le aggiunte
e il css cosi:codice:if (options == 'relative') { if (bH > getWindowHeight()) { $("#footer").css("display","block"); $("#footer").css("position","absolute"); $("#footer").css("width",wW + "px"); $("#footer").css("top",bH - fH + "px"); $("body").css("overflow-x","hidden"); } else { $("#footer").css("position","fixed"); $("#footer").css("width",wW + "px"); $("#footer").css("top",wH - fH + "px"); } } else { // Pinned option // Set CSS attributes for positioning footer $("#footer").css("display","block"); $("#footer").css("position","fixed"); $("#footer").css("width",wW + "px"); $("#footer").css("top",wH - fH + "px"); $("body").css("height",(bH + mB) + "px"); }
#footer {
background-color: #000;
font-size: 10px;
padding: 20px;
display:none;
}![]()

Rispondi quotando