Archived topic
putting a line above and under main navigation
3 replies · Started by Mike on October 20, 2022
Hi
I got this from a post in this forum, but it doesn't add any lines. Can you tell me if the code is still good, or I've go something wrong? In fact, the .inside navigation is showing red in the additional css, but I can't find the right combination
.inside-navigation {
border-top: 1px solid #ccc;
border-bottom: 1px solid #ccc;
}
thanks
Hi there,
in your Customizer CSS you have an error - see here:
.sidebar li {
border-bottom: 1px solid #809ead;
border-style: dashed solid;
.inside-navigation {
border-top: 1px solid #ccc;
border-bottom: 1px solid #ccc;
}
There is a missing closing bracket for the .sidebar li rule.
Change that CSS to this:
.sidebar li {
border-bottom: 1px solid #809ead;
border-style: dashed solid;
}
.inside-navigation {
border-top: 1px solid #ccc;
border-bottom: 1px solid #ccc;
}
As always, I appreciate your help!
You're welcome