Guest Posted September 5, 2019 Posted September 5, 2019 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; }
tuanphan Posted September 6, 2019 Posted September 6, 2019 @santislade Remove top: 20px !important What do you use the top 20px for? You can use margin top, padding top instead Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.