- Posts: 116
- Thank you received: 1
Ask the community, share ideas, and connect with other LimeSurvey users!
<script type="text/javascript" charset="utf-8"> $(document).ready(function() { $('#question{QID}').addClass('detached-last-item'); }); </script>
<style type="text/css">.detached-last-item td.answer-item:last-child, .detached-last-item .ls-answers .ls-heading > th:last-child { border-left: 25px solid #FFFFFF; background-color: #efefef; } @media only screen and (max-width: 801px) { .detached-last-item td.answer-item:last-child { border-left: 0 none; border-top: 25px solid #FFFFFF; } .detached-last-item .array1 td.answer-item:last-child { border-top-color: #ECF0F1; } } </style>
err...because I posted that solution 4 years and 8 months ago - the CSS class didn't exist!Question : why not add detached-last-item to CSS Class attribute ?