NicolasGS Posted March 16, 2022 Share Posted March 16, 2022 Hi, I have to have a privacy policy and imprint on my lock screen for legal reasons. Ideally, I would like to be able to put a link to a web page with the privacy policy and imprint on the lock screen. Is that possible? Thanks, Nicolas Link to comment
tuanphan Posted March 17, 2022 Share Posted March 17, 2022 Hi, What is your site url? We can check easier 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
NicolasGS Posted March 19, 2022 Author Share Posted March 19, 2022 https://robin-primrose-ltlj.squarespace.com Thank you! Link to comment
Solution tuanphan Posted March 21, 2022 Solution Share Posted March 21, 2022 On 3/19/2022 at 11:22 PM, NicolasGS said: https://robin-primrose-ltlj.squarespace.com Thank you! Add to Settings > Advanced > Code Injection > Lock Page <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> $(document).ready(function() { $('<ul class="t-links"><li><a href="#">Link 1</a></li><li><a href="#">Link 2</a></li><li><a href="#">Link 3</a></li><li><a href="#">Link 4</a></li></ul>').insertBefore('div.sqs-slice-password'); }); </script> <style> ul.t-links { list-style: none; padding-left: 0; display: flex; justify-content: center; } ul.t-links li a { color: rgba(28,28,28,.5); font-family: 'chalfont'; padding-left: 10px; padding-right: 10px; } ul.t-links li a:hover { color: rgba(0,118,245,.92); } </style> Just tested on my test site 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
NicolasGS Posted March 21, 2022 Author Share Posted March 21, 2022 1 hour ago, tuanphan said: Add to Settings > Advanced > Code Injection > Lock Page <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> $(document).ready(function() { $('<ul class="t-links"><li><a href="#">Link 1</a></li><li><a href="#">Link 2</a></li><li><a href="#">Link 3</a></li><li><a href="#">Link 4</a></li></ul>').insertBefore('div.sqs-slice-password'); }); </script> <style> ul.t-links { list-style: none; padding-left: 0; display: flex; justify-content: center; } ul.t-links li a { color: rgba(28,28,28,.5); font-family: 'chalfont'; padding-left: 10px; padding-right: 10px; } ul.t-links li a:hover { color: rgba(0,118,245,.92); } </style> Just tested on my test site Link to comment
tuanphan Posted March 22, 2022 Share Posted March 22, 2022 15 hours ago, NicolasGS said: What do you mean? 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
NicolasGS Posted March 22, 2022 Author Share Posted March 22, 2022 Sorry, I wanted to ask how to position the links at the bottom center of the website? Link to comment
tuanphan Posted March 23, 2022 Share Posted March 23, 2022 23 hours ago, NicolasGS said: Sorry, I wanted to ask how to position the links at the bottom center of the website? Under password field, or bottom center of screen? 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
NicolasGS Posted March 23, 2022 Author Share Posted March 23, 2022 bottom center (pls see attachement) Link to comment
tuanphan Posted March 24, 2022 Share Posted March 24, 2022 18 hours ago, NicolasGS said: bottom center (pls see attachement) It looks like you used another code to add link. You want to align that link to bottom center, or still use my code + align bottom center? 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
NicolasGS Posted March 24, 2022 Author Share Posted March 24, 2022 Your code. Thank you Link to comment
tuanphan Posted March 26, 2022 Share Posted March 26, 2022 On 3/24/2022 at 9:02 PM, NicolasGS said: Your code. Thank you Add this to bottom of Cover Page Header <style> ul.t-links { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: 50%; justify-content: space-between !important; } </style> 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
NicolasGS Posted June 1, 2022 Author Share Posted June 1, 2022 Thank you! Now I would like to use the link to refer to a separate webpage without password protection. However, if I have activated the lock screen, all pages of my website are password-protected. Can I somehow exclude a webpage from this? Do you have any ideas on how to do this? Nicolas Link to comment
paul2009 Posted June 1, 2022 Share Posted June 1, 2022 3 hours ago, NicolasGS said: I have activated the lock screen, all pages of my website are password-protected. Can I somehow exclude a webpage from this? When your site is password protected, you cannot exclude a page. About me: I've been a SQSP User for 18 yrs. I was invited to join the Circle when it launched in 2016. I have been a Circle Leader since 2017. I don't work for Squarespace. I value honesty, transparency, diversity and good design ♥. Work: I founded and run SF.DIGITAL, building Squarespace Extensions to supercharge your commerce website. Content: Views and opinions are my own. Links in my posts may refer to SF.DIGITAL products or may be affiliate links. Forum advice is free. You can thank me by clicking one of the feedback emojis below. Coffee is optional. Link to comment
emmabrinker Posted September 21, 2022 Share Posted September 21, 2022 hi On 3/21/2022 at 10:17 AM, tuanphan said: Add to Settings > Advanced > Code Injection > Lock Page <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> $(document).ready(function() { $('<ul class="t-links"><li><a href="#">Link 1</a></li><li><a href="#">Link 2</a></li><li><a href="#">Link 3</a></li><li><a href="#">Link 4</a></li></ul>').insertBefore('div.sqs-slice-password'); }); </script> <style> ul.t-links { list-style: none; padding-left: 0; display: flex; justify-content: center; } ul.t-links li a { color: rgba(28,28,28,.5); font-family: 'chalfont'; padding-left: 10px; padding-right: 10px; } ul.t-links li a:hover { color: rgba(0,118,245,.92); } </style> Just tested on my test site hi can you help me do the same thing for my site? i tried to use the code you suggested but it didnt work for me. ideally, i would like to only have 1 link if you can please. thank you! Link to comment
emmabrinker Posted September 21, 2022 Share Posted September 21, 2022 https://www.charmingoilylife.com/freebies-library/diffuser-blend-cards On 3/21/2022 at 10:17 AM, tuanphan said: Add to Settings > Advanced > Code Injection > Lock Page <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> $(document).ready(function() { $('<ul class="t-links"><li><a href="#">Link 1</a></li><li><a href="#">Link 2</a></li><li><a href="#">Link 3</a></li><li><a href="#">Link 4</a></li></ul>').insertBefore('div.sqs-slice-password'); }); </script> <style> ul.t-links { list-style: none; padding-left: 0; display: flex; justify-content: center; } ul.t-links li a { color: rgba(28,28,28,.5); font-family: 'chalfont'; padding-left: 10px; padding-right: 10px; } ul.t-links li a:hover { color: rgba(0,118,245,.92); } </style> Just tested on my test site hi can you help me do the same thing for my site? i tried to use the code you suggested but it didnt work for me. ideally, i would like to only have 1 link if you can please. thank you! Link to comment
tuanphan Posted September 23, 2022 Share Posted September 23, 2022 On 9/21/2022 at 9:18 PM, emmabrinker said: https://www.charmingoilylife.com/freebies-library/diffuser-blend-cards hi can you help me do the same thing for my site? i tried to use the code you suggested but it didnt work for me. ideally, i would like to only have 1 link if you can please. thank you! Use this code <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> <script> $(document).ready(function() { $('<ul class="t-links"><li><a href="https://google.com">Link 1</a></li></ul>').insertBefore('div.sqs-slice-password'); }); </script> <style> ul.t-links { list-style: none; padding-left: 0; display: flex; justify-content: center; } ul.t-links li a { color: rgba(28,28,28,.5); font-family: 'chalfont'; padding-left: 10px; padding-right: 10px; } ul.t-links li a:hover { color: rgba(0,118,245,.92); } </style> 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
Joeartist Posted August 3, 2023 Share Posted August 3, 2023 tuanphan, This code injection works great, but for some reason when clicking on the url it is not linking to the url external page. I want to offer a link to another website since this current one is under construction. Any help would be appreciated. best, Joeartist Link to comment
tuanphan Posted August 4, 2023 Share Posted August 4, 2023 19 hours ago, Joeartist said: tuanphan, This code injection works great, but for some reason when clicking on the url it is not linking to the url external page. I want to offer a link to another website since this current one is under construction. Any help would be appreciated. best, Joeartist What is your site url? We can check code easier 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
Joeartist Posted August 8, 2023 Share Posted August 8, 2023 www.videocraftstudio.com Thank you Link to comment
Joeartist Posted August 8, 2023 Share Posted August 8, 2023 tuanphan, I was able to get the code working. I had an error. Thank you for the great code. tuanphan 1 Link to comment
Gorillis80 Posted April 8 Share Posted April 8 I'm using my lock screen as an employee password-protected page. Is there a way to add a return to "home" link so it can take those without a password back to the website without having to click back in the browser? Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment