Format Font Size in Drop Down Answer Choices | XM Community
Solved

Format Font Size in Drop Down Answer Choices


Hey everyone,
I am currently trying to enlarge the font size in questions with drop down answer lists. Even though in my overall "Look & Feel" Section I adjusted the font size for all answers, the drop down options are displayed way too small.
Do you know a CSS Code in order to help enlarge the font sizes? Somehow there is no rich content editor for the drop down answer choices available.
Thanks so much in advance! Really appreciate your help!
Best,
Konni

icon

Best answer by rondev 12 June 2020, 09:42

View original

10 replies

Userlevel 7
Badge +22

Paste the below code in the drop down list question and change px as required:
jQuery("select").css("font-size","24px")

Hi rondev,
thanks for helping out! Works perfectly :)
Konni

Hi rondev,
I'm trying to use the code above but can't get it to work. Any idea on what I'm not doing right?
Thanks!

Userlevel 7
Badge +22

https://www.qualtrics.com/community/discussion/comment/30238#Comment_30238Where have you paste the code? Please send the screenshot.

image.png

Userlevel 7
Badge +22

https://www.qualtrics.com/community/discussion/comment/30241#Comment_30241Remove the code from their and paste it in the add javascript option under Onready function as shown below:
image.png

Thank you, it works now :)

Userlevel 3
Badge +10

Hello rondev , It works when I am trying to resize the drop down list options.
Now, I am trying to enlarge the size of the statements on a matrix table with drop down list options. I really appreciate your help!
Screenshot 2020-10-23 174920.png

Userlevel 7
Badge +22

https://www.qualtrics.com/community/discussion/comment/31388#Comment_31388To increase the font size of the statement you can go to the rich cintent editor of the options and change the font size from their.
image.png

Userlevel 3
Badge +10

Hello rondev Thank you very much for your response. It's true! You are right.
As you can see below I did it and the text is bigger. However, the text is automatically separated into two rows when it is long. I would like to expand the text area so that I can have each sentence on one line.  Thanks again!
Screenshot 2020-10-26 101027.png

Leave a Reply