Jump to content

How to change the H1 font in Cover Page 7.0

Recommended Posts

Posted

Site URL: https://www.karitonsorbetes.com/

Hi there,

 

Does anyone know how to change the H1 font in Cover Page? I have a custom font that I use throughout the website and it is uploaded into the site. I am currently revamping the site so I have put a cover page on for the mean time, but the H1 font is reverting back to Arial and I can't seem to work it out.

Can anyone help?

 

Thanks,

Theresa

  • Replies 1
  • Views 302
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted

It looks like you solved with this code?

<style>
/* BRANDING -- Text
----------------------*/
[data-compound-type="logo"][data-slice-type="heading"] h1{
 font-family: "Cubao" !important;
 }
 /* Text Shadows */
h1 {text-shadow:-8px 0px #1D4D2C} 

/* BRANDING -- Heading
----------------------*/
[data-slice-type="heading"]:not([data-compound-type]) h1{
 font-family: "Cubao" !important;
 }
  
@font-face {
    font-family: 'Cubao';
    src: url('https://static1.squarespace.com/static/5f290ad6b576066faea56104/t/5f2cb28159a63275f733c135/1596764804378/Cubao.otf'), url('https://static1.squarespace.com/static/5f290ad6b576066faea56104/t/5f2cb286be67457c9f346462/1596764807613/Cubao.ttf'),
    url('https://static1.squarespace.com/static/5f290ad6b576066faea56104/t/5f2cb28d39da3b0f3b3da689/1596764816100/Cubao.woff'), url('https://static1.squarespace.com/static/5f290ad6b576066faea56104/t/5f2cb293c8aa8d60673355db/1596764820933/Cubao.woff2');
}
</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!)

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.