Archived topic
Navbar box shadow disappears on pages with sections enabled
5 replies · Started by kyle on April 4, 2017
I'd like to know how to stop my navbars box shadow from disappearing on pages with sections enabled.
Thanks in advance :)
Hi there,
By default the small shadow appears only when the navigation is sticky, which seems to be working.
Are you wanting it to remain when it's not sticky as well?
Yes, I have already put some code in the child theme to make that happen. If you take a loot at this page:
http://swingtradesmart.com/tools-of-the-trade/
You can see the box-shadow is displayed even when the nav bar is not sticky.
Then if you look at this page:
http://swingtradesmart.com/learn-to-swing-trade/
You can see it's no longer showing. This happens on all pages where sections are enabled.
I'd like to know how to get it to display on all pages. Thanks for the reply.
Try this:
.main-navigation {
margin-bottom: 2px;
}
That's got it, thanks again!
You're welcome :)