Slide-in widget code gets placed in a strange loacation.

Hello, the code for the slide-in widget is getting placed in an unordered list which contains the slides for the slider on my homepage. This is an issue as the slider has a lower z-index than the rest of the elements on the page, placing it below those elements. Where can I alter the code to change the location of the slide-in widget’s code in the Dom? Thanks for your help!