CSS code from theme vs. custom CSS code in survey | XM Community
Skip to main content
Solved

CSS code from theme vs. custom CSS code in survey

  • May 26, 2025
  • 3 replies
  • 75 views

Forum|alt.badge.img+2

In QUaltrics, one can create a survey theme to be used in surveys. Themes can be built by using CSS code.

 

However, when I go into my survey and select a theme, I would still have the option to add additional/other CSS code.

 

My question is, which of the CSS codes takes precedence? The one from the theme or the one directly added in the survey?

Best answer by vgayraud

Hi,

style tag in the question’s html > theme’s css > survey’s css (assuming there’s no !important anywhere).

3 replies

vgayraud
QPN Level 6 ●●●●●●
Forum|alt.badge.img+58
  • QPN Level 6 ●●●●●●
  • 549 replies
  • Answer
  • May 26, 2025

Hi,

style tag in the question’s html > theme’s css > survey’s css (assuming there’s no !important anywhere).


Forum|alt.badge.img+2
  • Author
  • Level 2 ●●
  • 29 replies
  • May 26, 2025

So in case there is no !important tag (or both, the theme and the survey) use !important, the theme would take precedence over the survey settings?

 

Thanks!

 


vgayraud
QPN Level 6 ●●●●●●
Forum|alt.badge.img+58
  • QPN Level 6 ●●●●●●
  • 549 replies
  • May 26, 2025

That’s correct.