Align one menu item to the right on Impulse theme

Hello,

I currently have my main menu centred, but would like one of the items aligned to the right.

The header currently looks like this:

But I would like the ‘About’ menu item to be aligned right, and look like this:

Any help would be very appreciated!

Hi!

Try to add this code to Custom CSS:

@media only screen and (min-width: 1200px) {
.site-nav {
position: relative;
width: 100%;
padding: 0 130px;
}
.site-nav li:last-child {
position: absolute;
right: 0;
}
}​

You can adjust the 1200px breakpoint based on your menu width.

Hi @jpat , kindly provide your store URL please and if it is password protected, please share the password as well. Thanks

Thanks @SaraSky , this worked with a little bit of tweaking :slightly_smiling_face:

Oh dear, actually @SaraSky , I’ve just realised that now the ‘last-child’ in each of the dropdowns is also aligning right. Is there a way to stop this?

I see what you mean,

Here’s a small update:

@media only screen and (min-width: 1200px) {
  .site-nav {
    position: relative;
    width: 100%;
    padding: 0 130px;
  }
  .site-nav > li:last-child {
    position: absolute;
    right: 0;
  }
}

That’s fixed it. Thank you so much!