[Resolved] Shadow on navigation bar, but not on the merged navigation header

Home Forums Support [Resolved] Shadow on navigation bar, but not on the merged navigation header

Home Forums Support Shadow on navigation bar, but not on the merged navigation header

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #2327945
    Johan

    Hi!
    Just added this css to get a beautiful shadow on the header navigation:

    .site-header,
    #mobile-header,
    #sticky-navigation {
        box-shadow: 0px 1px 3px 2px rgba(0,0,0,0.43);
    }

    But I don’t want to be seen on the merged header navigation. Is there any way to fix that?

    All the best!
    -Johan

    #2327947
    Fernando
    Customer Support

    Hi Johan,

    To have a better understanding of the issue, may you provide the link to the site in question?

    You may use the private information field for this: https://docs.generatepress.com/article/using-the-premium-support-forum/#private-information

    #2328077
    Johan

    Sure! Submitted.

    #2328227
    David
    Staff
    Customer Support

    Hi there,

    try this CSS instead:

    :not(.header-wrap) > .site-header, #mobile-header, #sticky-navigation {
        box-shadow: 0px 1px 3px 2px rgba(0,0,0,0.43);
    }
    #2328696
    Johan

    David, the CSS king. Worked like a charm. Many thanks!
    -Johan

    #2329097
    David
    Staff
    Customer Support

    You’re welcome

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