Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0
santislade

My topNav is moving below header on hover in Chrome only

Question

The navigation on my site is moving to below the header when I hover over PROJECTS. This is only happening on Chrome, not Safari. It happens even when I remove all custom css from the page.

Site is here: http://www.sladearch.com/featured/

I currently use the following css to change my topNav, but the problem remains even when I remove ALL custom CSS.


 #header #topNav nav li a {
  font-family: 'proxima-nova';
  font-weight: bold;
  color: black;
  margin-right: 30px;
  top: 20px !important;
}
#header #topNav nav li a:hover {
 color: grey;
 margin-right: 30px;
 font-family: 'proxima-nova';
 font-weight: bold;
 top: 20px !important;
}




Edited by santislade
Initial Revision

Share this post


Link to post

1 answer to this question

Recommended Posts

  • 0

@santislade Remove top: 20px !important

What do you use the top 20px for? You can use margin top, padding top instead


You can send your question to my email to get faster answer. / How to Setup Password & Share URL 

-- I'm Tuan. I work for a non-profit project (build free libraries). I check the forum once or twice a day to help out the community. If you don't see me answering your question, you can send it to the email above. There are so many questions every day so I can't answer them all at once, I will try to answer them in the next few days.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...