css to format the last line of question | XM Community
Skip to main content

Can anyone help me in formatting the last line of question with CSS?
The code I currently have is “ .Skin .QuestionText{font-weight:700 !important}
.Skin .QuestionText{font-size:16pt !important}”, but it formats the whole question, I want something to only format the last line, if anyone can please help?
 

 

.Skin .QuestionText class is for the whole question text. If you want to update just that highlighted part just add a span class with let’ say instruction and then change the code to following:

.instruction{font-weight:700 !important}
.instruction{font-size:16pt !important}


to add span class use

<span class=’instruction’>Select one.</span>


Leave a Reply