• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
MinutesGuide.com

MinutesGuide.com

It is Not Just About WordPress

  • Home
  • About
  • Blog
    • Blogger Talk
    • Email Marketing
    • Hosting Talk
    • Plugins
    • Themes
      • Extra & Divi
    • WPbeginner
      • Guide
      • Life Hacks
      • WP Fix
    • WP Security
    • WP SEO
    • WooCommerce
  • Services
  • Reference
  • Contact
  • Start Here
Home » Blog » Blogger Talk » How to Make Responsive YouTube…

How to Make Responsive YouTube Embed On WordPress Post

Post on December 18, 2020 | Updated on December 18, 2020 by FaizAlias Leave a Comment

Are you looking for how to make responsive YouTube embed in WordPress posts? Some of the WordPress themes not coded properly making a small problem like this arise.

Yes.

When you embed video YouTube on your post, it does not give you any benefit for SEO or something else important for your site but your post will look neater and your reader will easy to read your article.

That why before you choose any theme for WordPress, please consider choosing my recommend WordPress Theme.

How to Make Responsive YouTube Embed On WordPress Post

responsive youtube embed

If you look at the picture above, it shows YouTube embeds on my site but it does not display properly. So, in this article, I will show you how to make it responsive to all posts.

Follow this simple guide.

Step 1 Login into your WordPress.

Step 2 Navigate to Appearance » Theme Editor.

Step 3 Find and click on functions.php. Make sure functions.php located on child-theme. Every time you want to modify any code, please change it on child-theme. You need to create a child-theme if you not having it yet.

Please refer on our guide on how to create child-theme.

responsive youtube embed

Warning! OnStep 3, I do not recommend you to edit on the WordPress dashboard. You need to edit it via cPanel or FTP client. Here I just show you where to paste and paste the code.

Step 4 You add just the following code to the bottom of your child theme’s function.php file:

responsive youtube embed

After you insert the code, click on Update File button to save what you have made a change.

That all.

Now your YouTube video should be fix and responsive to your post width.

For your information, any embed post will responsive and display fullwidth content. Not just for YouTube embed only.

Conclusion

In this guide, I have shown you how to make YouTube embeds on posts to fit the content area.

If you like this article, then please FOLLOW our Linkedin, Twitter, YouTube, Pinterest, and Facebook. Do not forget to check our services page to upgrade your WordPress. If you find this post has an issue with copyright, outdated, or in error, please contact us to fix it.

Related Article..

  • How to Force SSL On Your Website Without Any Error

Filed Under: Blogger Talk

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

Follow Me

  • Facebook
  • GitHub
  • LinkedIn
  • Pinterest
  • Twitter
  • YouTube

Start With…

blank
Start Blogging
blank
eShop Guide
blank
WP Guide
blank
WP Security

Categories

blank

Footer

About MinutesGuide

Was founded in October 2017 by FaizAlias. The main goal of this site is to provide quality tips, tricks, hacks in easy way that you can learn it just in minutes.

Highlight Service

Ninja Tables Pro Installation And Setting
CSS Hero Plugin Installation And Setting
Divi Theme Installation & Settings
Build Complete eCommerce Site

Quicklink

Home
Services
Contact
Blog

Copyright © 2021 · Designed by SM Creative Studio | Hosted by Cloudways DMCA.com Protection Status

  • Privacy Policy
  • Terms of Use