Rileygld Posted November 10, 2020 Share Posted November 10, 2020 Site URL: https://ar-go.live/events I am trying to implement this code: https://www.youtube.com/watch?v=VsLZGk4W47w code starts at 3:08. I am coming up with a problem implementing in in sqaurespace. Could you help? I added this to my main header code right under my memebrstack API code: <script> // sets the url of the page you're on localStorage.setItem('locat', location.href); </script> I created a "success" page that the login and sign up for a membership redrecit to. On that page in the header (which is all I can access on squarespace), I added the code: <script> window.location = localStorage.getItem('locat'); </script> Then when I login, I get an infinite loop going on. Can you see what I may have done wrong? Thank you! Riley Link to comment
Rileygld Posted November 11, 2020 Author Share Posted November 11, 2020 I figured it out .... I just had to put : <script>localStorage.setItem('locat', location.href);</script> on each page that the user can log in from. In SS on the event page, includes all the events. Very nice! Link to comment
tuanphan Posted November 11, 2020 Share Posted November 11, 2020 I see on scroll, mobile, it has this issue, if you need to fix, let me know, we will give the code Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Rileygld Posted November 15, 2020 Author Share Posted November 15, 2020 I don't quite understand what the problem you see is, but I'd love the code to fix it! 🙂 Link to comment
tuanphan Posted November 17, 2020 Share Posted November 17, 2020 Not sure. I think left padding > right padding However I just checked again, & It seems fine now Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.