Skip to main content

show all, show less functionality

When events are propagated to our event/calendar page ( they have a "show all" & "show less" link dropped into the content. Is there a way to use this function for other content on the site? What I would like to do is truncate a block of content then reveal the entire block of content with show all and show less links. Can I use the native functionality of NB to achieve this throughout our site? Thanks, Bob

Official response from

Hey Bob! Good thinking - this is definitely something you can do. A block of text will show/hide like that as long as it is in a div element that looks like this:


In my example, it would truncate it to 300 characters, but you can change that to whatever you'd like!

Share this post

Showing 3 reactions

How would you tag this suggestion?
Please check your e-mail for a link to activate your account.