Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

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