[Resolved] Sticky options in customizor does not work with AMP

Home Forums Support [Resolved] Sticky options in customizor does not work with AMP

Home Forums Support Sticky options in customizor does not work with AMP

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1638416
    Julien

    Sticky options does not work in customizor with AMP:
    Appearance > Customize > Layout > Sticky Navigation NOT WORK ಥ﹏ಥ
    Appearance > Customize > Layout > Header > Sticky NOT WORK ಥ﹏ಥ

    Only works for me :

    #site-navigation, #mobile-header {
    	position: -webkit-sticky;  
    	position: sticky;
    	top: 0px;
    }

    Is it normal ?

    Best regards,

    #1638480
    David
    Staff
    Customer Support

    Hi there,

    yes thats normal.
    The Sticky nav option requires Javascript, and AMP does not allow JS .

    #1641206
    Julien

    Of course! I mind, you could offer the AMP friendly option 🙂

    #1641412
    David
    Staff
    Customer Support

    We’re in the process of reviewing the Sticky Navigation options within the theme. This may include a CSS version which can be enabled, but currently those few lines of CSS is the best way to do it.

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