Archived topic
White Line Under Navigation Menu
6 replies · Started by Jeremy on October 15, 2022
If I change the background color of the header or do a merge menu, I keep getting a 10px or so white line under the navigation menu. Not sure what is triggering this.
Below are the screenshots from 2 different sites
https://imgur.com/EH8Lg9y
https://imgur.com/GuaISoh
What could be causing this?
Hi there,
can i see the site ?
I've added the sites in the private information.
If change the background color of the primary nav, the white line persists. I change the "use nav as a header" The white line goes below the header and body.
The line is coming from this CSS:
.main-navigation {
border-bottom: 6px solid #f6f6f6;
}
But i cannot see where that CSS is being loaded from as there is its been cache/optimized.
Maybe in the Customizer > Additional CSS?
I turned off all the caching plugins. In the Customizer > Additional CSS for one site it is blank, the other only has 2 entries that I know for sure what they do.
They don't share the same plugins, except for a few...but I don't think that's the issue.
I found it, it was old CSS I had in my child theme....I will mark as resolved.
Glad to hear that!!