YouTube Video iFrame or Embedded Link Not Centering on Page for Hello Maker

QuestionsCategory: QuestionsYouTube Video iFrame or Embedded Link Not Centering on Page for Hello Maker
Arturo Munonz asked 5 years ago

I’ve created the following blog post but the issue applies to all posts where I’ve both attempted embedding a video link or inserting its iFrame into the post and using the block’s menu bar to center it on the page. They never center. All videos remained aligned to the left. I checked the code and it reads “align:” “center” but the page still displays the video incorrectly align on all browsers. This is at the Blog.
At my WooCommerce store where Gutenberg is not in use and the legacy editor is what I’m using to load content, all my videos are centered in the product listings as I’ve chosen them to be.

What Does Hospitality Mean?

Can you please help explain what’s going on here?

Cheers,

Art

1 Answers
Jennifer Staff answered 5 years ago

I’m not sure why Gutenberg does that will smaller videos.  There are still kinks that need to be worked out with it.  You can add this to your additional css
 
.wp-block-embed {
text-align: center;
}
 
and that should center the video. 

jonsie replied 4 years ago

Hello – I have the Hello Maker theme as well, and my videos will not center either. I have added this block to additional css, but videos are still left justified. How can I fix this? Thank you!

Support Team Staff replied 4 years ago

Please open a new question and provide your URL.