Iframe embed problem

3 replies · opened Feb 27, 2025

DdagfinnhovetFeb 27, 2025

Hi.
I am creating a cryptoproject website using OnePage Dark. When I try to include the following iframe into a section it shows up perfectly but it make menues and the remaining site content disappear. Some usggestions out there way it has something to to with positions and z-index but I am not skilled enough in CSS to get this to work. Please assist.

The Iframe I try to embed is a swap widget: <iframe title="swap-widget" src="https://ociswap.com/widgets/swap?from=resource_rdx1tknxxxxxxxxxradxrdxxxxxxxxx009923554798xxxxxxxxxradxrd&to=resource_rdx1t5lenm5rr0p7urmcfjpzq5syt7cpges3wv3hzefckqe49ga6wutrhf&theme=green&with_container&fix_from&fix_to&allow_swap_fixed_tokens" width="100%" height="640px" style="border: 0;
margin: 0 auto; display: block; max-width: 960px; min-width: 300px; color-scheme: normal;" scrolling="no">

DdagfinnhovetFeb 28, 2025

Problem solved by ChatGPT. Did not close the iframe tag properly. Took for granted that the code provided was ok.

SSemicolon WebSTAFFMar 7, 2025

Hello,

Glad the issue was resolved.

Do let us know if we can help you with anything else or if you find any further issues with Canvas.

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard