Responsive Featured Images in WordPress

I ran across an issue with a theme recently that would not return responsive featured images. The image itself was responsive to the body but not the containing elements. I thought I would share a solution that I found that worked for my situation.

Source: https://css-tricks.com/forums/topic/responsive-thumbnails-in-wordpress/

Happy Coding!