Text layer over code widget

Norman, hi.

I need to put an text, and a buttont, over an code widget, that code widget will contain an iframe containing this

<
//
iframe src=“device_iphone_12” frameborder=“0” width=“100%” height=“650” class=“”>

</iframe
//>

I need the 3d to remain interactive, but I do need an simple way to add a text layer with a button on the top of it, over the image, centered. Is this possible?

Best regards,

M

Hi @mauriciotrentin,

A few ways you could do this… Add another div below the iFrame, this will wrap around your button and text. Then in the class manager position the div.

Spline_With_Overlay_Example.bloc (715.9 KB)

Ideally you would hand code the CSS to position the content in the exact middle. A complete overlay will stop the user interaction.

3 Likes

Exactly that. Thank you @PeteSharp.