Jump to content

Custom Fonts on Buttons/Forms

Recommended Posts

Page URL: https://studiotahini.squarespace.com/coachingsession-1

Hi there!

I've implemented CSS code for my custom font (see below).  However, the font and font style is not represented as expected in the top button (Contacto) and across the form.

Is there any way to modify the font style in the Button/Form specifically?

 

-

 

@font-face {
    font-family: Magazine Grotesque Regular;
    src: url(https://static1.squarespace.com/static/66150ddd977a5e716da79da2/t/661e20be0ac85137ed005ab8/1713250495434/Magazine-Grotesque-Regular.otf);
}
@font-face {
    font-family: Magazine Grotesque Semi Bold;
    src: url(https://static1.squarespace.com/static/66150ddd977a5e716da79da2/t/661e20be321c6f50f450ef17/1713250495145/Magazine-Grotesque-SemiBold.otf);
}
.sqs-block-button-element {
  font-family: 'Magazine Grotesque Regular' !important;
}
button {
    font-family: Magazine Grotesque Regular !important;
}
a.btn.btn--border.theme-btn--primary-inverse {
    font-family: Magazine Grotesque Regular;
}
h1 {font-family: 'Magazine Grotesque Semi Bold';}
h2 {font-family: 'Magazine Grotesque Semi Bold';}
h3 {font-family: 'Magazine Grotesque Semi Bold';}
h4 {font-family: 'Magazine Grotesque Regular';}
p.sqsrte-large {font-family: 'Magazine Grotesque Regular';}
p {font-family: 'Magazine Grotesque Regular';}
p.sqsrte-small {font-family: 'Magazine Grotesque Regular';}
h1 {
  font-family: 'Magazine Grotesque Semi Bold';
  font-weight: 500;
  font-style: regular;
  font-size: 40px;
  letter-spacing: -0.01em;
  text-transform: ;
  line-height: 1.25em;
}
h2 {
  font-family: 'Magazine Grotesque Semi Bold';
  font-weight: 400;
  font-style: regular;
  font-size: 24px;
  letter-spacing: -0.01em;
  text-transform: ;
  line-height: 1,5em;
}
h3 {
  font-family: 'Magazine Grotesque Semi Bold';
  font-weight: 400;
  font-style: regular;
  font-size: 14px;
  letter-spacing: -0.01em;
  text-transform: ;
  line-height: 1em;
}
h4 {
  font-family: 'Magazine Grotesque Regular';
  font-weight: 400;
  font-style: regular;
  font-size: 18px;
  letter-spacing: -0.01em;
  text-transform: ;
  line-height: 1,15em;
}
p {
  font-family: 'Magazine Grotesque Regular';
  font-weight: 400;
  font-style: regular;
  font-size: 14px;
  letter-spacing: 0.025em;
  text-transform: ;
  line-height: 1.5em;
}
.header-nav *, nav.header-menu-nav-list * {
    font-family: Magazine Grotesque Regular;
    font-weight: 400;
      font-style: bold;
      font-size: 14px;
      letter-spacing: 0.05em;
      text-transform: ;
      line-height: 1em;
}
.Marquee * {
   font-family: Magazine Grotesque Regular;
   color:#333333;
   font-size: 18px;
}
.form-wrapper .field-list .title {
  font-family: Magazine Grotesque Regular;
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: .15em;
  text-transform: ;
}
#siteWrapper.site-wrapper .sqs-block-button-element {
    font-family: "Magazine Grotesque Regular" !important;
}
.newsletter-form-field-element{
border-radius: 20px;
border:1px solid #6E5C55!important
}

Link to comment
  • Replies 2
  • Views 174
  • Created
  • Last Reply

Top Posters In This Topic

Header button (Contacto) should use this CSS code

a.btn {
    font-family: Magazine Grotesque Regular !important;
}

 

On 5/16/2024 at 12:40 AM, codyco said:

I'm also having this issue!

You can share link to your site, we can help easier

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.