Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.


Brandon Brigham
Brandon Brigham
3,716 Points

YouTube videos are overlapping on site in mobile version


If you visit this site I'm working on @ http://andersoncoastalproperties.com/del-mar

If you make the browser window small as possible (mobile-width-style) you will notice that the two youtube videos turns into one. I'm not sure why these videos are overlapping.

Any ideas?

1 Answer

Julian Gutierrez
Julian Gutierrez
19,201 Points

I don't think the videos are overlapping, it looks like the first video is "disappearing". From what I can see the first video is in a div

<div class="symple-column symple-one-half symple-column-first symple-all">

On mobile that class structure's display is being set to "display:none".

@media only screen and (max-width: 450px)
div.symple-column.symple-one-half.symple-column-first.symple-all {
    display: none;
Brandon Brigham
Brandon Brigham
3,716 Points

Thank you for catching that Julian!