Jump to content

Add custom font to body text on Lock Screen

Recommended Posts

Hi there,

I have looked through the posts on customising the Lock Screen without any luck so hoping someone can help me here.

I am trying to add a custom font to the body text to match the serif font on the rest of the site. I would also like to left-align the block if possible. 

Additionally, if there's any way to add a 'Return to home / Go Back' button or link under the password box, this would be great.

https://caterpillar-wrasse-ns3s.squarespace.com/

Password: psa23

 

The codes I've found on other posts have not been working for me, hoping someone might know how to sort this or see what I'm doing wrong?

 

Thanks,

Abigail

 

Link to comment
  • Replies 6
  • Views 1.4k
  • Created
  • Last Reply

Top Posters In This Topic

You can't customize the lockscreen beyond the limited tools available, you can't add Custom CSS or code injection. Best thing you can do is change the font to one that is close enough to the one you are using on the website.

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 

  Did I help? Buy me a coffee?

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 

Link to comment
7 minutes ago, abigailallen said:

Really, that's a shame! But thanks a lot for your reply 🙂

No problem!

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 

  Did I help? Buy me a coffee?

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 

Link to comment
  • 3 weeks later...
On 9/4/2023 at 4:49 PM, abigailallen said:

@tuanphan thanks, this is the function I need, however, can you place the link below 'Password'?

Yes. You can adjust its position.

Add to Website > Website Tools > Code Injection > Lock Page

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.0/jquery.min.js"></script>
<script>
jQuery(document).ready(function($){
  $('<a class="lock-button" href="https://google.com">Go back to Google</a>').insertAfter('.password-form');
})
</script>
<style>
  a.lock-button {
  	background-color: black;
    color: white;
    padding: 10px 20px;
    border-radius: 10px;
    position: relative;
    top: 100px;
  }
</style>

image.png.36cb690381daca0b446b5e152af8d819.png

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

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.