Title: Customize plugin files using child theme
Last modified: August 30, 2016

---

# Customize plugin files using child theme

 *  [JD](https://wordpress.org/support/users/jutta0303/)
 * (@jutta0303)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/customize-plugin-files-using-child-theme-1/)
 * Hi,
 * I want to set dimensions on two images contained in the Youtube Embed Plus plugin.
   I’ve successfully done so in the plugin’s youtube.php file where the images are
   getting called from.
 * Here’s the original code for one of the images:
    `'<div class="epyt-gallery-playhover"
   ><img class="epyt-play-img" src="' . plugins_url('images/playhover.png', __FILE__).'"/
   ><div class="epyt-gallery-playcrutch"></div></div>' .`
 * And here’s where I’ve added dimensions to it:
    `'<div class="epyt-gallery-playhover"
   ><img width="30px" height="22px" class="epyt-play-img" src="' . plugins_url('
   images/playhover.png', __FILE__) . '" /><div class="epyt-gallery-playcrutch">
   </div></div>' .`
 * I made those changes in the original youtube.php file, but I’d like to set it
   up in my child theme. My understanding is that, I can add plugin files into a
   child theme, but the way I’ve done it, doesn’t appear to work for me.
 * The original file is in this path: /wp-content/plugins/youtube-embed-plus/youtube.
   php
    I set up a copy of the file with the dimensions set for the two images here:/
   wp-content/themes/divi-child/youtube-embed-plus/youtube.php
 * My changes don’t seem to be seen by browsers when I set them up in the child 
   theme like that. Can you see why this may not be working, and let me know what
   I need to change for this to work?
 * Thank you!
 * [https://wordpress.org/plugins/embedplus-for-wordpress/](https://wordpress.org/plugins/embedplus-for-wordpress/)

Viewing 1 replies (of 1 total)

 *  Thread Starter [JD](https://wordpress.org/support/users/jutta0303/)
 * (@jutta0303)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/customize-plugin-files-using-child-theme-1/#post-6783149)
 * Hello, I just want to bring this topic back into awarenss as I have not gotten
   any responses yet.

Viewing 1 replies (of 1 total)

The topic ‘Customize plugin files using child theme’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/embedplus-for-wordpress_898988.svg)
 * [YouTube Advanced Embed](https://wordpress.org/plugins/embedplus-for-wordpress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/embedplus-for-wordpress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/embedplus-for-wordpress/)
 * [Active Topics](https://wordpress.org/support/plugin/embedplus-for-wordpress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/embedplus-for-wordpress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/embedplus-for-wordpress/reviews/)

## Tags

 * [child theme](https://wordpress.org/support/topic-tag/child-theme/)
 * [php](https://wordpress.org/support/topic-tag/php/)

 * 1 reply
 * 1 participant
 * Last reply from: [JD](https://wordpress.org/support/users/jutta0303/)
 * Last activity: [10 years, 6 months ago](https://wordpress.org/support/topic/customize-plugin-files-using-child-theme-1/#post-6783149)
 * Status: not resolved