# Elements Mobile Nav - First Link Boxed

**URL:** <https://forums.realmacsoftware.com/t/elements-mobile-nav-first-link-boxed/51241>\
**Category:** Elements\
**Created:** [September 23, 2025, 7:48pm UTC](https://forums.realmacsoftware.com/t/elements-mobile-nav-first-link-boxed/51241 "2025-09-23T19:48:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![chet](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/chet/32/35396_2.png) [@chet](https://forums.realmacsoftware.com/u/chet)\
**Post date:** [September 23, 2025, 7:48pm UTC](https://forums.realmacsoftware.com/t/elements-mobile-nav-first-link-boxed/51241/1 "2025-09-23T19:48:30Z")

</div>

Hello All,

I’m [building a site](https://dev.chetcomm.com/hx/) using the Halos project and have a question about the mobile nav.

When opening the nav on mobile, the first link has a blue box around it. For now, it’s the logo (which is linked to the Main page), but if I remove the logo link, it’s boxed around the first nav item.

Is there a way to make this behavior stop?

 ![Trusted Aircraft Brokers HX Aviation, LLC](https://europe1.discourse-cdn.com/flex005/uploads/realmacsoftware1/original/3X/9/0/9036430504acf675012b31528d950ad1ad664df7.png)

---

<div class="post-metadata">

**Author:** ![dan](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/dan/32/28516_2.png) [@dan](https://forums.realmacsoftware.com/u/dan)\
**Post date:** [September 23, 2025, 8:39pm UTC](https://forums.realmacsoftware.com/t/elements-mobile-nav-first-link-boxed/51241/2 "2025-09-23T20:39:38Z")

</div>

That blue box is just the default browser focus ring. When you open the mobile menu, the browser automatically focuses the first link in the DOM (in your case, the logo area).

You could remove the link from the logo or add the following code to the head of your Project Template:

```auto
<style>
  a:focus {
    outline: none;
    box-shadow: none;
  }
</style>

```

 ![CleanShot 2025-09-23 at 9 .32.18@2x](https://europe1.discourse-cdn.com/flex005/uploads/realmacsoftware1/original/3X/f/c/fcf6f7748339b7bf906a05a3c20aae0a580246e9.jpeg)

Adding the css code would mean you’ll loose the focus ring for users that rely on visible keyboard navigation.

---

<div class="post-metadata">

**Author:** ![chet](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/chet/32/35396_2.png) [@chet](https://forums.realmacsoftware.com/u/chet)\
**Post date:** [September 23, 2025, 8:43pm UTC](https://forums.realmacsoftware.com/t/elements-mobile-nav-first-link-boxed/51241/3 "2025-09-23T20:43:26Z")

</div>

Thanks Dan! This is my first time seeing this and my attempts to style it failed. 🙂
