CSS customization for specific items -- Item ID needed? #609
|
Years ago, I've customized an item's appearence in the run settings. Now, I've setup an identical run on another formr istance but the customization fails. Perhaps the item IDs used in the CSS code are not correct any longer? If so, where can I find the correct item IDs? For instance, part of my CSS code looks like: #item19496446_1{ |
Answered by
rubenarslan
Jun 2, 2025
Replies: 1 comment 9 replies
|
Hi @richrau yes the item ID will change when you recreate the study. A portable solution would be to assign a class to the item in the class column of the item sheet (e.g. "myhiddenclass") and change your CSS as follows. This specific class already exists though, so you should be able to just add the class "hidden" and the item should be hidden from view even without custom CSS. .myhiddenclass {
display: none !important ;
} |
9 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Anyway, here is a CSS snippet that works in my test. Currently, it targets the
answer_below_labelbecause you use it already but you can also replace.answer_below_labelwith.myspecialradiolayoutas long as you add that class in the survey item sheet.