Jump to content

Center Alignment on Custom Font

Recommended Posts

Site URL: https://www.mirboonorth.com/stay

Password: Mirboonorth

Am I going crazy?! Why is this code not center-aligning the font? I'm using the font elsewhere and it works

/*Styled Font for Sub-Page Header 1 */
@font-face {    
font-family: 'Golden Plains';       
src: url('https://static1.squarespace.com/static/5f800e73aa0df7173a3546d2/t/609bb6f9fc3271012c54f93a/1620817666257/golden-plains.ttf');  }
h8 { 
  font-family: 'Golden Plains'; 
  font-weight: 500;
  font-size: 60px;
  letter-spacing: 0.0em; 
  text-transform: normal;
  line-height: 1.2em;
  color: hsl(0,100%,0%);
  text-align: center;

Left Aligned Sub-Page Header.JPG

Link to comment
  • Replies 1
  • Views 383
  • Created
  • Last Reply


This topic is now archived and is closed to further replies.

  • 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.