As you can see I’ve pasted an absolute frame with fill color a gradient, in order to create a faded effect for a marquee.

Although this renders well on the canvas and preview, once published this is what it shows:

This automatically resets to the correct position if I resize my browser window.
Thanks for your help!