[Resolved] Navbar box shadow disappears on pages with sections enabled

Home Forums Support [Resolved] Navbar box shadow disappears on pages with sections enabled

Home Forums Support Navbar box shadow disappears on pages with sections enabled

  • This topic has 5 replies, 2 voices, and was last updated 7 years ago by Tom.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #301412
    kyle

    I’d like to know how to stop my navbars box shadow from disappearing on pages with sections enabled.

    Thanks in advance ๐Ÿ™‚

    http://swingtradesmart.com/learn-to-swing-trade/

    #301587
    Tom
    Lead Developer
    Lead Developer

    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?

    #301635
    kyle

    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.

    #301782
    Tom
    Lead Developer
    Lead Developer

    Try this:

    .main-navigation {
        margin-bottom: 2px;
    }
    #301898
    kyle

    That’s got it, thanks again!

    #302151
    Tom
    Lead Developer
    Lead Developer

    You’re welcome ๐Ÿ™‚

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.