Home › Forums › Support › Youtube Videos not displaying correctly This topic has 9 replies, 2 voices, and was last updated 4 years, 5 months ago by Tom. Viewing 10 posts - 1 through 10 (of 10 total) Author Posts November 30, 2018 at 3:38 pm #745086 Daniel Hello I have installed Gutenberg as a plugin on my website and i have a problem with displaying youtube videos. The videos are not being displayed as they appear in Gutenberg. On the website they have a bigger height which makes them look ugly. Screenshots: Gutenberg View: http://prntscr.com/lp6mq2 Website View:https://www.thebestpicks.com/top-30-fastest-cars-in-the-world-2/ Can anyone explain why is this happening? I have no problems with videos when i’m using visual composer : https://www.thebestpicks.com/top-30-fastest-cars-in-the-world/ November 30, 2018 at 6:11 pm #745129 TomLead Developer Lead Developer Hi there, Gutenberg comes with more opinionated styles which we’ve opted not to include by default, as it adds another stylesheet. You can add these like this: add_action( 'after_setup_theme', function() { add_theme_support( 'wp-block-styles' ); } ); Let me know if this helps or not π December 1, 2018 at 4:56 pm #745693 Daniel Where should i add this to? The functions.php ?? December 1, 2018 at 7:11 pm #745726 TomLead Developer Lead Developer If you’re using a child theme, then yes. If not, any one of these methods will work: https://docs.generatepress.com/article/adding-php/ December 8, 2018 at 10:18 am #751584 Daniel So i have added the code using the plugin snippets and it doesn’t work. Screenshot of the code : http://prntscr.com/lsfboa Website url: https://www.thebestpicks.com/top-30-fastest-cars-in-the-world/ December 8, 2018 at 8:43 pm #751785 TomLead Developer Lead Developer Can you try clearing any caching plugins? I see Cloudflare and maybe a Siteground caching plugin. Let me know π December 9, 2018 at 6:45 pm #752414 Daniel I did that but same thing happens, i have also accessed website from my phone but same thing happens. December 9, 2018 at 7:32 pm #752426 TomLead Developer Lead Developer Can you try this function instead?: add_action( 'after_setup_theme', function() { add_theme_support( 'responsive-embeds' ); } ); Let me know π December 9, 2018 at 8:01 pm #752438 Daniel It worked thanks for help! December 10, 2018 at 8:02 am #752935 TomLead Developer Lead Developer You’re welcome π Author Posts Viewing 10 posts - 1 through 10 (of 10 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In