I am using bootstrap 3.3 tooltips and have a problem with cropped / hidden tooltips. I solved this by setting data-container="body" .
<span class="callOutImg"> <a href="#" data-toggle="tooltip" data-container="body" data-placement="top" class="optionTooltip" title="Hello my name is Inigo Montoya"> <img src='/images/info-bubble-big.png' /> </a> </span>
Using these effects, all of my tooltips are not what I want.
However, I want to set a specific style in .tooltip-inner only for a subset of the tooltips on the page. These tooltips, however, are now contained in the body , so the scope is more or less global.
I can only access .tooltip-inner for them using:
body .tooltip-inner { background-color: #40a0d0; }
or
.tooltip-inner { background-color: #40a0d0; }
How to install another data-container ? (I tried classes and identifiers). Or can someone suggest a way to limit the selection area .tooltip-inner ?
Jason source share