Support » Theme: Kale » Automatically making videos responsive breaks other iframes.

  • Hello, I am a developer for a web app named Inlinkz and our customers seem to encounter some issues when using our widgets with the Kale theme.

    We provide a piece of code to our customers which they have to paste in their posts for our widget to work. This code simply generates an iframe in the page. In the last revision of your theme there is a change for making all embedded videos responsive. This seems to be causing issues with other iframes.

    The following code:

    if (jQuery('.single-content iframe, .page-content iframe').length) {
        kale_responsive_videos('.single-content iframe, .page-content iframe');
    }

    targets all iframes and from what I can tell it wraps these elements in a div with the classes ’embedded’ and ’embedded–16by9′.
    Maybe you could try to target only specific iframes, based on the src probably and not all the iframes?

    Thank you

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.