[Resolved] Top bar sticky

Home Forums Support Top bar sticky

  • This topic has 3 replies, 2 voices, and was last updated 1 year ago by David.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1012233
    Anders

    Hi

    I’m have found some old posts, and it helped to get almost all the way…

    I’m trying to make the topbar sticky

    .top-bar
    {
        position: sticky;
        z-index: 999;
        top: 0;
        left: 0;
        right: 0;
    }

    But on Safari, the sticky is not supported – so I use the “position:fixed” but then the topbar blocks the menu on chrome!!

    What to do?

    #1012360
    David
    Staff
    Customer Support

    Hi there,

    you need to include the -webkit prefix sticky property in your CSS:

    position: -webkit-sticky;

    Add that to your CSS

    #1012414
    Anders

    Great.. works 🙂

    #1012424
    David
    Staff
    Customer Support
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.