2015-08-31 69 views
0

我會告訴你我使用屏幕截圖的問題。 http://i.imgur.com/lSsELs7.pngDiv在移動版本上保留div div

這是一個桌面版本的頁腳。當我看到移動版本第五列是在6日。

這是它的樣子:http://responsivetest.net/#u=http://patwoj.hekko24.pl/wordpress|491|638|1(頁面底部)。

如何將其更改爲將div放在另一個div下方?

如果你要修復它沒有太多的修飾你的代碼
+0

增加你的第四格的高度: col-lg-2 text-center – Vinayak

+0

這是因爲你已經爲每個元素應用了內聯高度 – sumitmann

+0

請提供SO片段以接收任何反饋。 – Justinas

回答

1

指定一個id爲行

<!-- START: FOOTER --> 
<div class="row" id="footer"> 

,並在你的CSS文件中添加以下代碼

@media screen and (max-width:1187px){ 
#footer .col-lg-1, #footer .col-lg-2, #footer .col-lg-2 div{height:auto !important;} 
} 

它將解決您的問題。