Thanks to
@TomG for this
Paste the code present in below link on the JS of the question
https://gist.github.com/marketinview/cd5d385d8803124078a0#file-qualtrics_matrixverticallinebeforelastcolumn-js
Thanks
@rondev, but I think
@FlorisR is asking about a MC instead of a Matrix.
@FlorisR - Using the CSS media rules from the posts you sited, are you using HTML mode to paste the `<style>` tag into your question text?
>
@FlorisR said:
> This caused the vertical lines to appear on the page that I wanted it to, but did not appear on the mobile version (and it weirdly shows the vertical lines on every single questions in my survey on the edit screen). I got lost with the QID part of your explanation and am not sure what to paste in the html view, in order to make it work for both versions on specific questions.
>
One of the posts you sited has answers to your questions - mobile and specific QID. You need a different media rule for mobile. You'll have to use the correct QID number for your question.
```
@media only screen and (min-width:481px) {
#QID59 td:last-of-type { border-left: 1px solid grey; }
#QID59 td:last-of-type label { margin-left:10px; }
}
@media only screen and (max-width:480px) {
#QID59 td:last-of-type { border-top: 1px solid grey; }
#QID59 td:last-of-type label { margin-top:25px; }
}
```