• Resolved Antonio1947

    (@antonio1947)


    Realy satisfied to use Customizr, Beautiful theme.
    Downloaded child theme and modified as per my neddeds.
    Is remaining one problem not solvedat moment.

    Inserting Youtube movie, the static img is really oversized. Watching a movie is all fine.
    Followed instructions indicated on
    https://themesandco.com/snippet/embedding-youtube-video-right-way-customizr/
    inserted the snippet on style.css no success
    tryed to function.php nothing.
    snippet is:
    [embed width="640" height="360"]https://www.youtube.com/watch?v=e5_Q-LvQu1Y[/embed]

    website is https://www.bbottelioblog.com

    need some help
    many thanks
    Antonio

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"]https://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.