You are viewing limited content. For full access, please sign in.

Question

Question

Form Bold text on certain check box options

asked on April 1, 2015

As the title stated, I am looking to bold certain checkbox text on this list.  I have tried CSS but it keeps bolding all of the options, how would I go on specifying on certain selections?  Thanks.

 

0 0

Replies

replied on April 1, 2015

You will probably need to use jQuery Traversing to pick the text next to the selected box. Here is a link that talks about how it works: http://www.w3schools.com/jquery/jquery_traversing_siblings.asp

0 0
replied on April 1, 2015

If you want a CSS option you can use:

#q6 span:nth-child(2) {color: red}

 

Blake's option works just as well. Change the 2 to whatever ordered element you want to affect.

 

Cheers,

Carl

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.