Home › Forums › Support › Sub menu misalignment. This topic has 9 replies, 2 voices, and was last updated 9 years, 4 months ago by Tom. Viewing 10 posts - 1 through 10 (of 10 total) Author Posts May 12, 2015 at 6:13 am #107368 Rebecca Wade Building a website at http://bartley2.purple-dog.co.uk/ using premium theme generate press. However, the sub menu navigation is not in alignment. The very top sub menu is out of alignment with the rest – see clients and services. Please advise? May 12, 2015 at 8:50 am #107416 TomLead Developer Lead Developer This custom CSS is the culprit: .main-navigation .menu li:first-child a { padding-left: 0; } To make it only affect the top level items, you can do this: .main-navigation .menu > li:first-child a { padding-left: 0; } May 12, 2015 at 9:12 am #107432 Rebecca Wade Hi there, Not sure how the two codes are different? Updated all the same and not made a difference? Please advise further? Thanks, Rebecca May 12, 2015 at 9:22 am #107433 TomLead Developer Lead Developer Looks better to me – try clearing your browser cache and then take a look π The code I provided will only target the top level menu items, instead of the first menu item on every level. May 12, 2015 at 9:27 am #107438 Rebecca Wade Seems to be ok in Firefox but not Chrome? Tried incognito mode? Any ideas? May 12, 2015 at 9:32 am #107447 TomLead Developer Lead Developer Looks the same to me in Chrome? Maybe send a screenshot of what you’re seeing? May 12, 2015 at 9:35 am #107448 Rebecca Wade http://bartley2.purple-dog.co.uk/wp-content/uploads/2015/05/Screen-Shot-2015-05-12-at-18.33.00.png May 12, 2015 at 9:38 am #107449 TomLead Developer Lead Developer It may still be using your cache – have you cleared it in Chrome? May 12, 2015 at 9:44 am #107460 Rebecca Wade Perfect! After restarting the browser and clearing the cache it now seems to be aligning with firefox! Thanks for your help π May 12, 2015 at 12:33 pm #107512 TomLead Developer Lead Developer You’re welcome π Author Posts Viewing 10 posts - 1 through 10 (of 10 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In