#mainNavigation a:nth-of-type(2) { margin-right: inherit; } #mainNavigation a:nth-of-type(3) { margin-left: inherit; } `display: none !important;`