Blog, Website & Page Publishing

GGawali24
Member

Placeholder Text Font Change

SOLVE

Hi Everyeone !!

Can you please tell me how to change font of PlaceHolder Text on forms ?

0 Upvotes
1 Accepted solution
coldrickjack
Solution
Top Contributor

Placeholder Text Font Change

SOLVE

Hi @GGawali24 this can be done using CSS. Specifically using a rule as shown below:

 

 

form .hs-form-field input::placeholder {
  font-family: "Arial", Times, serif; /* Change this to whatever font you'd like */
  font-weight: 100 /* Change this to whatever weight you'd like */
  color: #000000; /* Change this to whatever colour you like*/
}

 

 

The steps required to implement the above will differ depending on where the form is located. In any event the articles below cover both scenarios:

 

View solution in original post

3 Replies 3
coldrickjack
Solution
Top Contributor

Placeholder Text Font Change

SOLVE

Hi @GGawali24 this can be done using CSS. Specifically using a rule as shown below:

 

 

form .hs-form-field input::placeholder {
  font-family: "Arial", Times, serif; /* Change this to whatever font you'd like */
  font-weight: 100 /* Change this to whatever weight you'd like */
  color: #000000; /* Change this to whatever colour you like*/
}

 

 

The steps required to implement the above will differ depending on where the form is located. In any event the articles below cover both scenarios:

 

GGawali24
Member

Placeholder Text Font Change

SOLVE

Hi @coldrickjack 

I am trying to integrate hubspot form in wordpress using short code so can you please help me out where should i place the css class.

0 Upvotes
coldrickjack
Top Contributor

Placeholder Text Font Change

SOLVE

Hi @GGawali24, you'd need to follow the instructions here