Jump to content

Custom CSS for Lock Screen

Go to solution Solved by tuanphan,

Recommended Posts

  • 1 month later...
On 7/31/2020 at 12:36 AM, tuanphan said:

Add this code to Home > Settings > Advanced > Code Injection > Lock Page


<style>
input::placeholder {
    color: yellow !important;
}
</style>


Do you know how to change the word "PASSWORD" on the lock screen? Thank you!

 

About Armin:
Squarespace Expert Profile: https://www.squarespace.com/designer/profile/3649084
Website: www.braunsberger-media.com
Leaders Lodge: See my Profile

Link to comment
1 hour ago, ArminB said:

@tuanphan would be awesome 🙂

<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.0/jquery.min.js"></script>
<script>
$(document).ready(function() {
	$('input').attr('placeholder','tuanphan');
});
</script>

image.thumb.png.1dedcb4e00bcc9782f1b41886c3909b9.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
11 minutes ago, tuanphan said:

<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.0/jquery.min.js"></script>
<script>
$(document).ready(function() {
	$('input').attr('placeholder','tuanphan');
});
</script>

image.thumb.png.1dedcb4e00bcc9782f1b41886c3909b9.png

Thank you! I appreciate it! Worked perfectly

About Armin:
Squarespace Expert Profile: https://www.squarespace.com/designer/profile/3649084
Website: www.braunsberger-media.com
Leaders Lodge: See my Profile

Link to comment
  • 5 months later...
  • 2 weeks later...
On 3/15/2021 at 1:44 PM, nataliadoes said:

Hey!
Is there a way to use a custom font (already uploaded and used on my site) for the text on the Lock Screen?

Add this code

<style>
  @font-face {
  	font-family: fontname;
    src: url(paste font file url here);
  }
  * {
  	font-family: fontname !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
  • 2 years later...
On 9/30/2020 at 10:57 PM, tuanphan said:
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.0/jquery.min.js"></script>
<script>
$(document).ready(function() {
	$('input').attr('placeholder','tuanphan');
});
</script>

image.thumb.png.1dedcb4e00bcc9782f1b41886c3909b9.png

thanks @tuanphan I've made the box, lock and arrow disappear with the background colour (doing this on purpose so that I have a lock screen but stopping people from entering.)

I just need to change the font colour of the word 'password' password prompt to the background colour #01AEF2 which I am using. Same issue for rectangle or underline 

Website in trial mode atm. thanks 

Screenshot 2023-11-05 at 4.12.35 pm.png

Edited by catalienne
more info
Link to comment
  • 1 month later...
On 12/24/2023 at 6:59 AM, RtN said:

Hi, 

 

someone has a code to hide the password function on the lock screen ?

 

to be exactly, not the function itself, it's only about the visual showing ... 

I need the lock screen as a "landing page" some days .... 

You can use a standard page and hide header/footer, then set as it homepage, instead of use lock page

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.