2014-01-08 57 views
0

我的頁面是link。我想在頁腳下設置導航。 我的自定義CSS代碼,我已經爲頁腳設置,但頁腳仍然覆蓋。Css在wordpress中修復了郵件封面頁腳

#scroller { 
padding: 5px; 
background-color: white; 
position: fixed; 
bottom: 0; 
left: 0px; 
right: 0px; 
_position: absolute; 
-ie: expression(this.style.top=document.documentElement.clientHeight-this.offsetHeight+document.documentElement.scrollTop); 
} 

你有什麼想法嗎?謝謝:)

回答

1

由於導航欄具有絕對位置它重疊頁腳。

您必須將nav menu div放置在footer div以下,而不是position:absolute或者使用填充底部(height of the nav menu+current padding which is 84+40=124px)頁腳。

.site-footer { 
border-top: 1px solid #F5F5F5; 
color: #999; 
font-size: 14px; 
padding: 40px 0 124px 0; 
text-align: center; 
}