(Squarespace) Change H1 size on Homepage only

To change H1 size on Homepage only, you can use this code to Custom CSS box.
If code doesn’t work, you can comment below, message or email me.

body.homepage h1 {
  font-size: 30px
}

If you want to apply Desktop Only, use this code.

@media screen and (min-width:768px) {
  body.homepage h1 {
  font-size: 30px
}
}

If you want to apply on Mobile only, use this.

@media screen and (max-width:767px) {
  body.homepage h1 {
  font-size: 30px
}
}

1 Like