Site logo

Archived topic

Sticky options in customizor does not work with AMP

3 replies · Started by Julien on January 29, 2021

Viewing posts 1–4 of 4

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,

Hi there,

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

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

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.

This archived topic is closed to new replies.