Hello @tuanphan, I'm having similar issue.
Tried the code above and not working on mobile.
Also, I'm unclear if the gode goes into the page header of Index adv. Settings or Gallery adv. Settings.
https://projx2print.squarespace.com/ -- pw: p2p
Thank you very much!