[Support request] Youtube Embed Too Big – Looking for one code fix all solution.

Home Forums Support [Support request] Youtube Embed Too Big – Looking for one code fix all solution.

Home Forums Support Youtube Embed Too Big – Looking for one code fix all solution.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #2337788
    Samuel

    Page

    I embed it by just copy and paste the youtube video links.

    The embed work but the youtube video is really huge, i have no sidebar, so it a full width post, hence the video fully stretched out.

    it taking too much real estate , i need it be shorter/smaller.

    If possible I’m looking for a css code or something that is able to put in somewhere where it affect all the post instead of editing on the post itself as i’ve over 150 posts to be doing it manually.

    #2337948
    David
    Staff
    Customer Support

    Hi there,

    try this CSS to set a max-width on YouTube Embeds:

    .wp-block-embed-youtube {
        max-width: 420px;
    }
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.