# Child Menu Overflow

**URL:** <https://community.hubspot.com/t/child-menu-overflow/32276>\
**Category:** CMS Development\
**Tags:** design-manager\
**Created:** [February 24, 2021, 9:33pm UTC](https://community.hubspot.com/t/child-menu-overflow/32276 "2021-02-24T21:33:33Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![pjbovee](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/pjbovee/32/38459_2.png) [@pjbovee](https://community.hubspot.com/u/pjbovee)\
**Post date:** [February 24, 2021, 9:33pm UTC](https://community.hubspot.com/t/child-menu-overflow/32276/1 "2021-02-24T21:33:33Z")

</div>

Hey everyone,

I’m imagining this is a quick fix for most of you, but I know just enough to get myself into a tiny bit of trouble and (usually) find my way out. This one just has me stumped.

We sort of mix and match pages on our site between our main Squarespace-built site and HubSpot pages/landers/blogs. We recently added a drop-down menu on the last item of our navigation: [www.angelsfoster.org](http://www.angelsfoster.org)

There are 2 items under Give: Giving Overview and Leave a Legacy.

On Squarespace, the new child menu was too long and getting cut off on the right, so I did a quick search and found this code to drop in:

[href=“/give”]+.Header-nav-folder {  
left: -150% !important;  
}

For our replicated HubSpot nav menu, though, I can’t – for the life of me – figure out how to shift JUST that one child menu (I don’t want the ones under About or Events to shift). Here is a link to one of our HubSpot pages: [https://blog.angelsfoster.org/blog](https://blog.angelsfoster.org/blog)

I figured out how to shift all of the child menus, but not ONLY the one under Give. I just can’t figure out how to target only that one.

Any help you can provide is so appreciated!

Cheers,

PJ

---

<div class="post-metadata">

**Author:** ![dennisedson](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dennisedson/32/28044_2.png) [@dennisedson](https://community.hubspot.com/u/dennisedson)\
**Post date:** [February 25, 2021, 9:38pm UTC](https://community.hubspot.com/t/child-menu-overflow/32276/2 "2021-02-25T21:38:27Z")

</div>

Hey @pjbovee

Thanks for providing the links!

I think @jonchim could probably help you out here!

---

<div class="post-metadata">

**Author:** ![jonchim](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jonchim/32/88818_2.png) [@jonchim](https://community.hubspot.com/u/jonchim)\
**Post date:** [February 25, 2021, 10:52pm UTC](https://community.hubspot.com/t/child-menu-overflow/32276/3 "2021-02-25T22:52:12Z")

</div>

Hey @pjbovee,

You’ll need to use the parent in order to target that specific \<ul\> menu children wrapper.

It looks like those top level menu items have custom class names based on the menu name in your case on the hubspot site it is “Give”, so you can use left to adjust it however far you want it to go to match the squarespace site. The parent already has a position: relative; so this is all you’ll need below. And if the navigation didn’t have a custom class name you can use nth-child to target just the last menu item. But the below should do the trick. Let me know if you run into any ius

.Give .hs-menu-children-wrapper {  
left: -170px !important;  
}

---

<div class="post-metadata">

**Author:** ![pjbovee](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/pjbovee/32/38459_2.png) [@pjbovee](https://community.hubspot.com/u/pjbovee)\
**Post date:** [March 2, 2021, 8:06am UTC](https://community.hubspot.com/t/child-menu-overflow/32276/4 "2021-03-02T08:06:57Z")

</div>

This is great, @jonchim! Thank you for your help!
