Embedding SoundCloud iFrame

Discussion in 'Compass WordPress Theme' started by dycmedia, May 28, 2015.

  1. dycmedia

    dycmedia New Member

    Joined:
    Apr 14, 2015
    Messages:
    10
    Likes Received:
    0
    Hi there,

    I would like to embed a SoundCloud iFrame. However, there seems to be a problem with the height of the frame.

    See my page:
    http://www.doyoucopy.nl/soundcloud/

    The problem is only within the blog section. On pages, the iFrame shows up normally.

    I asked a question in their forum.

    SoundCloud staff's response:

    Hi there,

    Thanks for posting. Hmm, I've looked at your site and took the iframe code (i.e., the embed code) and put it on http://htmledit.squarefree.com/ - this is a site where you can test html codes without any dependencies and also with no need to save anything before it is reflected on the site.

    When doing so, the player looks just fine. Thus, I believe there must be something pre-definition of the height-parameter on the parent page, to which the embedded adjusts.

    Does that make sense? I'll try and see if I can have one of our devs take a look to see if there's an obvious fix (I myself am not a web(-site) developer, so I can spot it right away), and will follow up with you when I have news.

    Unless you find a solution beforehand - please make sure to let me know :)

    Do you have an easy fix for this?

    Thanks.
     
  2. praveen

    praveen Support Staff

    Joined:
    Jan 1, 2015
    Messages:
    2,344
    Likes Received:
    67
    Hello,

    Please paste the code given below in Custom CSS section
    (Appearance -> Theme Options -> Styling Options -> Custom CSS) of your dashboard.
    Code:
    .page_content .content_bar .post iframe {
      height: auto !important;
    }
    Hope it will resolve your issue.

    Thanks,
    Praveen
     
  3. dycmedia

    dycmedia New Member

    Joined:
    Apr 14, 2015
    Messages:
    10
    Likes Received:
    0
  4. Sobhagya

    Sobhagya Guest

    Joined:
    May 29, 2015
    Messages:
    414
    Likes Received:
    6
    Hello,

    Greetings from InkThemes,

    We have got your concern, please send us your WordPress dashboard admin login details at [email protected]. so that, we can have a look over the issues in detail and will try to resolve them ASAP.

    Your website Login link:
    WordPress username:
    WordPress password:

    Note: Once your issue get resolved, you can change your password.
     
  5. praveen

    praveen Support Staff

    Joined:
    Jan 1, 2015
    Messages:
    2,344
    Likes Received:
    67
    Hello,

    I have resolved your issue.
    Please have a look at your website.

    Hope you are enjoying InkTheme services.
    Do let me know if you need any help.

    Thanks,
    Praveen
     

Share This Page