# Next JS Course problem with navbar

**URL:** <https://forum.codewithmosh.com/t/next-js-course-problem-with-navbar/26242>\
**Category:** Next.js\
**Created:** [April 23, 2024, 4:54pm UTC](https://forum.codewithmosh.com/t/next-js-course-problem-with-navbar/26242 "2024-04-23T16:54:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Manjaaay](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/manjaaay/32/2572_2.png) [@Manjaaay](https://forum.codewithmosh.com/u/Manjaaay)\
**Post date:** [April 23, 2024, 4:54pm UTC](https://forum.codewithmosh.com/t/next-js-course-problem-with-navbar/26242/1 "2024-04-23T16:54:00Z")

</div>

![image](https://us1.discourse-cdn.com/flex020/uploads/codewithmosh/original/2X/2/284d4563588541834f99d9c5297c97e0e022ab9a.png)  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/codewithmosh/original/2X/7/733899069fcfb236e76596ce85ace4ccc17f94b6.png)

1st picture. default viewing, now when i click my image, look at carefully the padding top of the navbar item (2nd picture), it went closer to the margin top.

how you guys solve this problem or is it anyone encounter this before? hays ☹

@Mosh please help me

---

<div class="post-metadata">

**Author:** ![Manjaaay](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/manjaaay/32/2572_2.png) [@Manjaaay](https://forum.codewithmosh.com/u/Manjaaay)\
**Post date:** [April 24, 2024, 2:36pm UTC](https://forum.codewithmosh.com/t/next-js-course-problem-with-navbar/26242/2 "2024-04-24T14:36:26Z")

</div>

Hi, can someone help me ?

---

<div class="post-metadata">

**Author:** ![Manjaaay](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/manjaaay/32/2572_2.png) [@Manjaaay](https://forum.codewithmosh.com/u/Manjaaay)\
**Post date:** [April 24, 2024, 3:59pm UTC](https://forum.codewithmosh.com/t/next-js-course-problem-with-navbar/26242/3 "2024-04-24T15:59:10Z")

</div>

already solved. removed the padding:1rem on body on global.css
