You can't do it simply by inserting new code so I'll assume you're able to edit existing code.
If it is integraded by adding HTML code, just move that code to the place you want it to be.
If the widget is created via JavaScript - you need to edit that JavaScript.
There's no other way.