Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Bootstrap Tooltip shows up under the element

The tooltip is showing under the element when I hover over it. The z-index of the element is 2, while the tooltip has 1030. I'm not sure what's going on. It's only for some elements too, even though they have the same markup.

Here's the page that it's happening on http://darebounty.com/streams/11

It's the shapes on a page at the bottom (red, blue, yellow, etc) #rune_page_view

Any help would be appreciated.

like image 858
Anujan Avatar asked Apr 03 '13 20:04

Anujan


1 Answers

I had this issue and was messing around with z-indexing in order to solve it, but it ended up being futile. I then checked out this link.

I found the "data-container='body'" attribute very useful. It was able to make my tooltips show up over everything (so that the user could actually read them), which is what I imagine most people would want.

Hope that helps anyone coming upon this in the future. :)

like image 186
masquarainian Avatar answered Oct 20 '22 18:10

masquarainian