See this link: http://api.jqueryui.com/tooltip/#option-position
And in action here (based on EyasSH answer)
$( document ).tooltip({
position: {
my: "center bottom", // the "anchor point" in the tooltip element
at: "center top", // the position of that anchor point relative to selected element
}
});
If your tooltip is too large you can offset your anchor further by using -40
after bottom
in the my
field:
$( document ).tooltip({
position: {
my: "center bottom-40", // the "anchor point" in the tooltip element
at: "center top", // the position of that anchor point relative to selected element
}
});