2014-11-22 62 views
0

我有一個有圖標的邊欄菜單。只有當圖標懸停時,菜單文字纔會顯示。但是,由於之前元素上的Zindex問題,這並不完美。如下圖所示,懸停紅色區域不應顯示側欄菜單,但它是。Zindex on導致懸停問題在邊欄菜單上

圖像顯示了這個問題 - >>>https://symu.co/zwfqpj

這裏的發出─http://healthsphere.starazure.com進行現場演示。我甚至無法點擊該徽標,因爲210像素寬的側欄的before元素接管了。

我的老闆想讓我解決這個問題,但我無法做到。謝謝你的幫助。

感謝

回答

0

你的菜單太大http://i.imgur.com/hR36MOf.png。嘗試使用此CSS更改菜單寬度。

.uk-notouch .tm-sidebar-fixed .tm-sidebar{width:50px; overflow:hidden;} 
.uk-notouch .tm-sidebar-fixed .tm-sidebar.uk-open-menu{width:210px; overflow:auto;} 
+0

謝謝你的回答。這幾乎成功了,但打破了一些東西。這些工作之前 - 1)[link](https://symu.co/stddcq)2)[link](https://symu.co/xpacpz) 3)[link](https:// symu。 CO/ymgfyj) – 2014-11-22 18:20:46