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

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

  • May 17, 2021
  • 4 replies
  • 256 views

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?

Best answer by Mishraji

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

4 replies

Mishraji
Level 4 ●●●●
Forum|alt.badge.img+18
  • Level 4 ●●●●
  • Answer
  • May 17, 2021

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


  • Author
  • May 18, 2021

Thank you so much!


Forum|alt.badge.img
  • April 4, 2022

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


Forum|alt.badge.img+2

I tried this, and my HTML code looks like

[Rest of formatting/question text]

but now no border is showing up.