Add a horizontal line on 2nd to last of type | XM Community
Skip to main content

I have done this before, but totally forget how to do it!
I want to add a horizontal line - not on the last of type - but second to last of type:


What do I do with this code. I feel like there is a (2) or something similar that I need to program/is involved. Also, I would like to "largely" use the code above/don't want new css/javascript - but would like to use the above "bones"

MaggieGentry try this:

Hope it helps!


Thank you!
(So obvious - ha!)


@Deepak - it looks like your response to this went away. 

Do you mind reposting?

 

I want to add a horizontal line - not on the last of type - but second to last of type:

What do I do with this code. I feel like there is a (2) or something similar that I need to program/is involved. Also, I would like to "largely" use the code above/don't want new css/javascript - but would like to use the above "bones"

 

DISREGARD FIGURED IT OUT/POST BELOW


<style>
#QID13 li:nth-last-of-type(2) { border-top: 2px solid #8D8D8D4D; }
#QID13 li:nth-last-of-type(2) label { margin-top:10px; }
</style>


Leave a Reply