Framing a single question with a border? (I'm using CSS but it adds a frame to every question) | XM Community
Solved

Framing a single question with a border? (I'm using CSS but it adds a frame to every question)

  • 17 May 2021
  • 4 replies
  • 210 views

Userlevel 1

I'm trying to use the following CSS to frame just 1 question on the page, and I'm adding it in that particular question's HTML view editor:

But it addes a frame around every question on that page.
How can I modify this code so that it only applies to the 1st question?

icon

Best answer by Mishraji 17 May 2021, 19:08

View original

4 replies

Userlevel 4
Badge +18

You should use the specific question id in this case. See an example below:
image.png

Userlevel 1

Thank you so much!

Badge

How do I customize a frame outer border for the label and the slider scale?
Scale Slider w border.png
This is what it currently looks like in my created design.
Scale Slider.png

Badge +2

I tried this, and my HTML code looks like

[Rest of formatting/question text]

but now no border is showing up.

Leave a Reply