Editing anchor style in main navigation bar

Sounds like you need to properly target your HTML elements. It is also not clear from your explanation what needs to happen. More code would definitely help explain what you need. Please improve the quality of your question.

With that said, I’ll give it a shot:

anchor 1 has different styling because you’re hovering the menu while on anchor 1’s page. Using dev tools (Chrome etc), it should be clear what classes (or targeted HTML elements) are added to show the current page when you hover the menu. You can then style those classes differently.

I’ll also note that if you targeted specific HTML or CSS classes then you shouldn’t expect elements NOT targeted to have those styles.