Removing number of records

Hello! On one of my pages, I have a table that shows all my records. At the top left of the table, there is text that displays the number of records shown: “Showing 1-50 of 156” (the number of records). Is it possible to remove this text? I reached out to Knack support, and they told me it would require some custom code. Thank you!

Hi Riley,

You can add one of these lines to your CSS:

/* Hide the record summary everywhere */
.kn-entries-summary {
  display:none;
}

/* Hide the record summary in a specific view */
#view_1 .kn-entries-summary {
  display:none;
}

/* Hide the record summary in a specific scene */
#kn-scene_1 .kn-entries-summary {
  display:none;
}

Cheers,

Ian
Knack Pros

2 Likes

Nice one :+1:
Works really well, I knew you’d know the answer :blush:
I was going to say copy the selector in the DOM and use {visibility:hidden}, which works but leaves a gap where the record counter used to be.
In my defense, I’m not a coder :laughing: