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


Send me a message if you have any questions (free 10 minutes).

4000+ free code: Adirondack - Avenue - Brine - Bedford - and more (all 7.0 template & 7.1)

Useful guide: How to share url (trial plan) - 2 languages site - 3 languages

Plugins: Product Enquiry Form - Product Color/Image Swatch VariantLightbox Anything

Learn CSS Basic: Treehouse - W3Schools - Flexbox

Other groups: SS Customization Resource Group - SS CSS Support - SS Community

 

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...