Okay
  Public Ticket #2223850
Embed an external website
Closed

Comments

  • Damian started the conversation

    Hello,

    I'm testing the theme Harvest and i tried to embed an external website in portfolio case - for me bulilding portfolio case in Hervest / wordpress builder is quite difficult, i prefer build it on wordpress theme "Be theme" that i now well and embet that portfolio case in Hervest portfolio. I succeeded, but not quite as I wanted. Embed site is in a small box, when i tried use atribute width and height "100%" nothing was happened, when i use code:

    [center]
    [iframe name = "Test" src = "http://grudley.pl/" scrolling = "yes" width = "1920px" height = "1080px" frameborder = "0">]
    [/iframe]
    [/center]

    I get resoultat what you can see in related URL. Page is embed but is not centered. Can you tell me how can i embed site right, that it's look like a integratet part of portfolio site?

  •  1,973
    Support replied

    Hello,

    try

    [center]
    [iframe name = "Test" src = "http://grudley.pl/" scrolling = "yes" width = "100%" height = "1080px" frameborder = "0">]
    [/iframe]
    [/center]

    so specify width in percentage instead of fixed number in pixels

    Thank you.

    Clapat Support

    https://www.clapat.com/

    Review Envato Item Support Policy

  • Damian replied

    OK, now is better, page is centered, but as you can see
    http://newborn.grudley.pl/hervin_portfolio/only-dance/

    page isn't embed in full width but only in box (1180px width), can we fix it to full width?

    Best Regard



  •  1,973
    Support replied

    Hi Damian,

    try adding class full to the gutenberg container holding the iframe (in additional class name field)

    Thank you.

    Clapat Support

    https://www.clapat.com/

    Review Envato Item Support Policy

  • Damian replied

    Cool, now it works :)

    Is there a possibility for the magic cursor to work too on a embet site? when i scroll down the page the magic cursor in the embed area is hold in one position

  •  1,973
    Support replied

    Hi Damian,

    that's a good question but a though onesmile.png The magic cursor simply does not see the external frame as part of the page

    Thank you.

    Clapat Support

    https://www.clapat.com/

    Review Envato Item Support Policy