How to make the dropdown closer to the text label | XM Community
Skip to main content

Hi Community,
I'm trying to work with dropdown however I want the dropdown to be closer to the text label.
image.pngOnce I remove the class c2 BorderColor and c3 BorderColor in the inspect element the spaces between label and dropdown however because it was call as class all of the matrix table with c2 BoderColor and c3BorderColor affected.
image.png

Hi there, you can reduce the space between the statements and the dropdowns by aligning the text of the statements to the right. Try adding the below CSS to the Style section of the survey's Look & Feel
.Skin .Matrix table td, .Skin .Matrix table th {
  text-align: right !important;
}
Matrix_Dropdown_align.pngTo add CSS to specific questions, there are a couple methods in this post.


Leave a Reply