Input text font type for all text entry questions | XM Community
Skip to main content

Input text font type for all text entry questions

  • February 11, 2023
  • 3 replies
  • 144 views

Forum|alt.badge.img+3

I have 3 text entry questions and want to change default font type as Calibri. I can change the font type for one question with code below and it is not changing for other 2 questions. May I request your help please?

input[type=text] {
font-family:Calibri!important;
color: #000000!important;
font-size:16px!important;
}

3 replies

Forum|alt.badge.img+21
  • QPN Level 5 ●●●●●
  • February 12, 2023

hi kghosh
I used your above code and its working for all the text entry questions in my survey.
image.pngYou are using your code in this section, just want to confirm it! if yes then it should work.


grahulp5
QPN Level 3 ●●●
Forum|alt.badge.img+13
  • QPN Level 3 ●●●
  • February 15, 2023

Just get the common class name for text entry questions and in the style paste it as above.


Forum|alt.badge.img+3
  • Author
  • QPN Level 1 ●
  • February 15, 2023

Thank you omkarkewat, this was helpful. I only had to make this modified from the above code.
Change
input[type=text] {
to
input[type=text], textarea {