[wp-trac] [WordPress Trac] #65067: Youtube shorts don't resize when viewed on mobile

WordPress Trac noreply at wordpress.org
Mon Apr 13 15:42:28 UTC 2026


#65067: Youtube shorts don't resize when viewed on mobile
--------------------------+----------------------
 Reporter:  ashjaneclark  |       Owner:  (none)
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Embeds        |     Version:
 Severity:  normal        |  Resolution:  invalid
 Keywords:                |     Focuses:  css
--------------------------+----------------------
Changes (by sabernhardt):

 * keywords:  has-patch =>
 * status:  new => closed
 * resolution:   => invalid
 * milestone:  Awaiting Review =>


Comment:

 Hi and welcome to WordPress Core Trac!

 The three embedded shorts have an `alignleft` class, which sets a minimum
 width of 280 pixels. The class likely was added when there was an
 alignment control in the block toolbar. Delete that from each YouTube
 Embed block, in the Additional CSS Class(es) field under Advanced.

 You might also want to move the embeds into Column blocks that are allowed
 to stack. Then narrower screens would not try to shrink the videos to less
 than [https://developers.google.com/youtube/terms/required-minimum-
 functionality?hl=en#embedded-youtube-player-size 200 pixels wide].

 > I'm not sure if they are using instructions for an outdated version of
 WordPress interface, or if there is a difference in the interface in
 different countries.

 Your site uses //WordPress.com//, which has a somewhat different interface
 than WordPress.org. That might be part of the confusion.

 > is there an issue with the Twenty Nineteen theme which is uniquely
 causing a problem here?

 The site uses the Saison theme. The PR added CSS for Twenty Nineteen, but
 I did not find a problem with embedded video shorts in that theme.

 I'll close the ticket because this is not a bug with WordPress core.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/65067#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list