# Menu alignment

**URL:** <https://community.hubspot.com/t/menu-alignment/10196>\
**Category:** CMS Development\
**Created:** [September 13, 2018, 3:18pm UTC](https://community.hubspot.com/t/menu-alignment/10196 "2018-09-13T15:18:01Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jlawal](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jlawal/32/5125_2.png) [@Jlawal](https://community.hubspot.com/u/Jlawal)\
**Post date:** [September 13, 2018, 3:18pm UTC](https://community.hubspot.com/t/menu-alignment/10196/1 "2018-09-13T15:18:01Z")

</div>

Hello all,

I am trying to get the ‘Get app’ in [the top menu](https://www.groupcall.com/-temporary-slug-e6ede222-c7e4-492a-9ebd-35788983edd1?hs_preview=LAvgvhAg-6083209381)to float to the right, above the customer login button, but it is stubbornly floating to the left.

Do you know why it is doing this and how i can get it to float to the right?

Any help would be greatly appreciated.

Many thanks,

Jamila

---

<div class="post-metadata">

**Author:** ![Jsum](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jsum/32/20405_2.png) [@Jsum](https://community.hubspot.com/u/Jsum)\
**Post date:** [September 13, 2018, 3:47pm UTC](https://community.hubspot.com/t/menu-alignment/10196/2 "2018-09-13T15:47:34Z")

</div>

@Jlawal,

The element you are attempting to float right is set to 100% of its containers width so it has no where to move.

Instead of Float: right; as your inline styling on that element, try text-align: right;. The outer most wrapping around your text, that is not 100% width, is a span tag. Span tags are inline items so the are effected by text rules like alignment, and inherit from their parents. Setting the raw html container’s inline styles to “text-align: right;” does what you need.

Need help? [Hire Us Here](https://www.upwork.com/o/companies/_~0124e15ff34efb3871/)

---

<div class="post-metadata">

**Author:** ![Jlawal](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jlawal/32/5125_2.png) [@Jlawal](https://community.hubspot.com/u/Jlawal)\
**Post date:** [September 17, 2018, 8:14am UTC](https://community.hubspot.com/t/menu-alignment/10196/3 "2018-09-17T08:14:57Z")

</div>

Thank you for that breakdown @Jsum

That works perfectly and your solution makes sense. I’m going to keep inline styles in containers going forward!  
 ![16x16_robot-happy.png.png](https://d2qpr2jzcazej7.cloudfront.net/original/2X/8/874d53014807641231b02cd7731dd7743d03cef5.png)

---

<div class="post-metadata">

**Author:** ![system](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/system/32/124_2.png) [@system](https://community.hubspot.com/u/system)\
**Post date:** [September 14, 2018, 12:24pm UTC](https://community.hubspot.com/t/menu-alignment/10196/4 "2018-09-14T12:24:51Z")

</div>

Hi @Jlawal,  
You can add this CSS,

```auto
.top-header {
 text-align: right;
}

```
