CSS Code for standard font style and size | XM Community
Question

CSS Code for standard font style and size

  • 15 September 2020
  • 4 replies
  • 199 views

Hi,

can anyone tell me the CSS Code for the Look and Feel menu, to change the font style (e.g. Arial) and size (e.g. 12) for the entire survey for the question text and the answer options?

Thanks!!


4 replies

Userlevel 7
Badge +22

We do not need custom CSS for this, as these options are present under look and feel

No unfortunately they're not. This is everything I see under the look and feel - style menu.
image.png

Userlevel 7
Badge +22

Since you are using some static theme, you are not able to view that options, so in that case use below CSS in custom CSS
.Skin .QuestionText, .Skin .QuestionBody {
  font-size: 18px!important;
font-family:Arial!important;
}

Userlevel 2
Badge +3

    I've used this code to change the labels on mobile as they weren't fitting on the screen, hopefully it's useful:
@media (max-width: 480px) {
ul.labels {
    word-break: break-word;
    font-size: 6px;
    }
}

Leave a Reply