You are viewing limited content. For full access, please sign in.

Question

Question

Table Text Above Field

asked on April 2, 2020

Is there a way to stop the text above the field in a table from repeating . I just want it to show at the top on the table column header.

0 0

Answer

SELECTED ANSWER
replied on April 2, 2020 Show version history

Hi Chynna,

You can use the following CSS to hide all but the first row's text above the field:

.table-hidetext-selector tr:first-child label.cf-helptext.ab-help {
  display: inherit;
}
.table-hidetext-selector tr label.cf-helptext.ab-help {
  display: none;
}

Add the "table-hidetext-selector" CSS class to the table, and this will hide it for all rows but the first. If you want to do the same for the text below the field instead, simply change "ab-help" in the above code to "un-help".

For reference, if you want to hide all of the text below the fields except for the last row, use the following CSS:

.table-hidetext-selector tr:last-child label.cf-helptext.un-help {
  display: inherit;
}
.table-hidetext-selector tr label.cf-helptext.un-help {
  display: none;
}

 

2 0

Replies

You are not allowed to reply in this post.
You are not allowed to follow up in this post.

Sign in to reply to this post.