Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1401521

    rollies
    Participant

    Hi, I am using X Theme with the included ACF plugin. I have an oEmbed custom field and have created a child theme where the field is called, but the videos display at completely messed up proportions.

    At http://www.shop.rolli.es/exhausts/magnaflow-fxd06up-21-f-bombblk-wblk-end-cap/ – you can see the narrow oEmbed window. If I right click on the youtube video there and copy the embed code it says the iFrame is width=”523″ height=”113″ – just totally wrong.

    Please advise how to correct these video sizes.

    Thanks!

    #1401598

    Lely
    Moderator

    Hi There,

    Would you mind providing us with login credentials so we can take a closer look on setup? To do this, you can make a post with the following info:

    – Link to your site
    – WordPress Admin username / password
    – FTP credentials

    Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.

    #1407245

    rollies
    Participant
    This reply has been marked as private.
    #1407265

    rollies
    Participant
    #1407652

    Lely
    Moderator

    Hi There,

    Thank you for the credentials.
    I did check your child theme’s functions.php file and content-single-product.php and can’t find the code where you add the ACF field. I added the following code instead on Appearance > Customize > Custom > Edit Global CSS:

    .tube-player iframe {
        height: 300px !important;
    }

    Feel free to adjust 300px. See this:http://screencast-o-matic.com/watch/cbeoiT6AGG

    Hope this helps.

    #1408676

    rollies
    Participant

    Ahh, ok sweet! That kind of works. I’ll add some responsive rules to that and it will be perfect. Thank you 🙂

    #1408931

    Prasant Rai
    Moderator

    You are most welcome. 🙂