Need help in reducing the padding for image in a single select question | XM Community
Skip to main content

Hello,
I am looking for some help to reduce the padding in a image. The padding seems to be bigger, i would like to reduce it to 10PX. However i am unable to find the right element to use in JavaScript to modify the padding. I have attached an image which shows the label / id / class for the image.
Can someone please help with the code to modify the padding for the images.
It needs to be reduced when the select the option is selected.
image.pngThanks in advance.

jQuery("#"+this.questionId+" .Selection .LabelWrapper>label").css({"padding-top":"10px","padding-bottom":"10px"});


Thanks TomG .. Worked perfectly


TomG is a wizard at custom code! ⭐️


Leave a Reply