It appears that the bootstrap framework only allows for the use of 4 placement options. You can reference the ongoing discussion on this matter in the github issue.
Currently, bootstrap has limited support with only 4 placement options, whereas tether offers 12.
Therefore, if you encounter limitations with bootstrap tooltips, consider utilizing tether.js or its counterpart tooltip.js.
For example, you can implement tooltip.js
as shown below:
new Tooltip({
target: document.getElementById('foobar'),
position: 'right middle',
content: '<div id="foo">bar</div>',
});
#foo{
background-color: black;
color: red;
}
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<link href="https://cdnjs.cloudflare.com/ajax/libs/tether-tooltip/1.2.0/css/tooltip-theme-arrows.min.css" rel="stylesheet"/>
<script src="https://cdnjs.cloudflare.com/ajax/libs/tether/1.3.2/js/tether.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/tether-drop/1.4.2/js/drop.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/tether-tooltip/1.2.0/js/tooltip.min.js"></script>
<a href=# id="foobar">I'm a link!</a>
You can also access the fiddle link here.