Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi Antonio,
    that code should be inserted in a post or in a page content, not in style.css or functions.php
    Sorry if I’m misunderstanding what you meant..

    Thread Starter Antonio1947

    (@antonio1947)

    ciao d4z_c0nf
    you understand perfectly what I meant
    Updated as per your indication; now is perfect
    last new question is: how to center the youtube preview on a page??
    many thanks
    Antonio

    Ciao Antonio 😉
    What if you wrap the embedding in a div, like (in text mode):

    <div class="youtube-embedded">[embed width="640" height="360"]http://www.youtube.com/watch?v=e5_Q-LvQu1Y[/embed]</div>

    And then in your css:
    .youtube-embedded iframe { display: block; margin:auto;}

    Looks like it works here ..

    Thread Starter Antonio1947

    (@antonio1947)

    Dear d4z_c0nf
    done all per your suggestion
    now is 110% perfect
    really many thanks

    cheers
    Antonio

    Hey Antonio,
    I’m very glad to hear that!
    Good luck with your site and with Villa Ottelio of course 😉
    Cheers

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Youtube oversaized view’ is closed to new replies.