Jump to content

CSS code for changing button fonts

Recommended Posts

I am new to coding and have managed to change all my fonts to custom ones. But i just can't get the button font to change I have tried a few different ones and even the one that everyone suggests just will not work.  I'm using .sqs-block-button-element {font-family:bradforditalic!important;}  I have changed  H1 H2 etc and added the custom font already.

Any help is there any different code or any suggestions to where I'm going wrong?

Link to comment
  • Replies 4
  • Views 318
  • Created
  • Last Reply

Top Posters In This Topic

I'm answering my own question! It has changed the button text. but not the buttons within the forms so this is the code I need. I have been able to change all the code within forms but the button seems to have not changed. For this I have used .form-block•{font-family:bradfordbrooklight!important;} I presume there must be something to add to change the button font within a Form?

 

Link to comment
On 11/8/2022 at 1:05 AM, JLC said:

Hi thanks so much. This is now driving me mad. It changes the button on the contact form but not on the newsletter form blocks. I have tried lots of different ways of writing it with no luck. Any ideas?

 

Newsletter uses this class name

Quote

.newsletter-block input

 

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.