[Resolved] Menu shadow on mobile

Home Forums Support [Resolved] Menu shadow on mobile

Home Forums Support Menu shadow on mobile

  • This topic has 4 replies, 2 voices, and was last updated 1 year, 7 months ago by Salty Communication.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #2344574
    Salty Communication

    Hi,

    I am using this CSS to add shadow to the primary menu header:

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

    But how do I make it appear on mobile as well?

    #2344663
    David
    Staff
    Customer Support

    Hi there,

    see my reply here:

    https://generatepress.com/forums/topic/cant-get-hide-overflow-to-stick/#post-2344662

    The issue is related ๐Ÿ™‚

    #2345535
    Salty Communication

    Works perfect, however I want the shadow to disappear when the header is merged. How do I do this?

    #2345651
    David
    Staff
    Customer Support

    See here:

    https://generatepress.com/forums/topic/cant-get-hide-overflow-to-stick/#post-2345636

    Make that change as i included an update to the CSS so the shadow is only on the sticky mobile header

    #2346312
    Salty Communication

    ๐Ÿ‘

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