I apologize if this has already been asked, but I wasn't able to find the answer on here or Google. I have a website I am building and I want the links in the navbar to be white, but I want the rest of the body to have blue links. This should be pretty simple, but for some reason my CSS is not working to achieve this. I will put my code below I use SCSS so the syntax is a little different, but I have checked and my CSS file is correct when I format it.
padding: 2% 0 2% 0;
margin: 0 5% 0 5%;
font-family: "Lato", sanserif;
Based on your CSS you actually have the same specificity level, on both selectors
0 0 0 2
Therefore the last declared style has precedence, in this case the body style. The quick solution is just change the order of the declaration:
Or just increase the specificity of your nav selector.