Drop Down Navigation Issue with CSS
-
I’m trying to create a navigation bar that will have drop downs when hovered. Currently, all of the top level links are working according to my CSS, but none of the links that should be drop downs are appearing. I’ve also tested that my navigation is working with the menu I have set up in the backend, so I’m not sure why it isn’t working. Here is the link to the website: http://illuminousmarketing.net/EID/
As you can see, I’m also having an issue with the centering of my page wrapper. For some reason, Margin: 0 auto; isn’t working. I’m a WP novice, so any help that can be given would be much appreciated. I’ve searched through the codex for answers to these issues, but haven’t found my remedy yet.
-
Isn’t it because your submenu links are white, on white background?
Andrew, thank you for the quick reply. It wasn’t because I have white on white background, but it was because I had an extra # in front of my hex codes.
Now the drop downs area appearing, but the problem is that they don’t stay there to hover over and click on them. Any ideas on that?
Also, any idea why my margins are working properly? ex: margin: auto 0;
General tip: Always worth validating your code if you’re stuck http://validator.w3.org/check?uri=http%3A%2F%2Filluminousmarketing.net%2FEID%2F&charset=%28detect+automatically%29&doctype=Inline&group=0
The topic ‘Drop Down Navigation Issue with CSS’ is closed to new replies.