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.

HTML jQuery Basics (2014) Creating a Mobile Drop Down Menu Perform: Part 1

Timothy Parenteau
Timothy Parenteau
7,515 Points

Why does H1(Home, About, etc...) Move all the way to the right of the screen after JQuery is added?

Why does H1(Home, About, etc...) Move all the way to the right of the screen after JQuery is added?

Wayne Yallop
Wayne Yallop
30,808 Points

This answer is probably old hat by now, but I was having the same problem. I checked all the code but nothing really seemed out of place. So I added an extra 5px to H1 top margin ( 45px 0 10px ) and it worked. Hope this helps anyone currently working in this lesson.

2 Answers

Adama Sy
Adama Sy
7,076 Points

I can't recall having that same issue mate.

You may have change something in the code.

Beacause i completed it last week and did not have any issue with it.

Maybe you should check your css if everything matches the original

Weng Jeff Lee
Weng Jeff Lee
12,865 Points

My solution is you put a padding for the h1. Maybe the h1 collapse because of the select