How To Hide Related YouTube Videos In Divi

Here is a quick Divi tutorial showing you how to easily hide and disable YouTube related videos in your Divi video module.

How To Hide Related YouTube Video Suggestions In Divi

Step 1

Add a class to your video modules where you want to hide the related YouTube videos.

Go the Video Module settings>Advanced tab>CSS Classes & IDs toggle>and paste “pa-hide-related-videos” into the CSS Class field.

Step 2

Add the follow code snippet to the Divi>Theme Options>Integrations>Add code to the < head > of your blog

Make It Global Sitewide

If you want this to take effect in any Video Module on your site then it’s easier to target them all at once. This eliminates the need to add the CSS class from step 1.

You Did It! Good job!

Nice job, you have just edited the YouTube embed link with jQery, which is a type of code that edits things like HTML. But that’s the boring part, the best part is that you now can use the Divi Video Module without worrying about it showing other people’s videos.

Did you appreciate this post?

If you find value in this type of post, please subscribe because we have tons of tutorials in progress to be posted!

Please share this post!

Nelson Lee Miller

Nelson is the owner of Pee-Aye Creative Co in the beautiful state of Pennsylvania. He loves helping small businesses, exploring, and building websites with Divi.

You Earned A Reward

For a limited time, we are offering our best blog readers a random CRAZY big 20% off coupon to use on any of our child themes! Just subscribe and we'll send you the code!

Blog Reader Coupon Code

Nice, we're sending you the code now!


Your Cart