Jump to content

Help with custom font for lock screen

Go to solution Solved by tuanphan,

Recommended Posts

Hello

I would like to customise my subtitle font on the lock screen.
With the following code, I was able to customise all fonts (Slogan and subtitle). The quote "Ein Statement zeitloser Eleganz. Eine Mansion der Extraklasse. " should remain in the normal system font LATO. How can I adjust the code?

<style>
  @font-face {
      font-family: Classico;
  src: url('https://static1.squarespace.com/static/659a9162ce39895c4f762c96/t/659a94c4f0aa1822d355d87c/1704629444467/Classico.otf');
  }
  * {
      font-family: Classico !important;
  }
</style>

Thank you and best regards
Sibylle

Link to comment
  • Solution

Change your code to this code

<style>
  @font-face {
      font-family: Classico;
  src: url('https://static1.squarespace.com/static/659a9162ce39895c4f762c96/t/659a94c4f0aa1822d355d87c/1704629444467/Classico.otf');
  }
  *:not(p) {
      font-family: Classico !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

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.