How to make a panning texture within a UMG?

I’m trying to create an image in my main menu that pans in the background. However, when I apply the material to the image in the UMG, it says that ‘This material does not use the UI material domain. Change the Material Domain?’ And when I click it to do so, the image just turns Black. If anyone has any idea why this might be happening, or another way in which I can do this, any help or advice would be greatly appreciated.

Below I have included images showcasing my problem, and the material I’m using.