Code Snippets

​Making Tables Scroll When They're Too Wide for the Page

Gotta show a lot of data at once? Tables are a great fit. Except if you end up with a lotta data in your table, it might go off the page. Here's how to make the tables scroll.

Updated 3 weeks ago by Jake Peters

​Getting Help with Code Snippets

HelpDocs comes packed full of customization options: CSS, Javascript and HTML. Our customers have built some amazing things with all three of these. If there's anything you want to customize, you probably can!

Updated 2 months ago by Jake Peters

​Disabling Authorship and Updated Times

From our experience, customers love being able to see who updated an article and when. That being said, sometimes you might want to hide all that metadata away.

Updated 2 months ago by Jake Peters

Making Video Embeds Responsive

If you're embedding videos from Youtube or Vimeo, you might find that they don't occupy the full width of the article. You can make these embeds fluid with a little custom Javascript.

Updated 3 weeks ago by Jake Peters

Using Different List Styles

Our default list schema is numbers > lowercase letters > lowercase roman numerals. If you want to change that, you totally can.

Updated 3 weeks ago by Jake Peters

Overriding the Font on Your Knowledge Base

If you're looking to load a fancy new font of your own or simple want to make a small change to one element, you can override fonts on your knowledge base with a little CSS.

Updated 3 weeks ago by Jarratt Isted

Using a Background Image in the Header

When you set up your HelpDocs you'll get your primary color as the background for your header. Sometimes you might want to change this into an image.

Updated 3 weeks ago by Jarratt Isted

Adding Lightboxes to Images

Lightboxes allow your customers to expand an image or a GIF for a closer look. This might be useful for the little details they can't quite see without expanding or accessibility for people with vision impairment.

Updated 3 weeks ago by Jarratt Isted

Disabling Related Articles

Related articles are calculated automatically and inserted at the bottom of your articles. We're always trying to improve the suggestions, but if they aren't what you'd hoped for, you can disable them completely.

Updated 3 weeks ago by Jake Peters

Using HelpDocs with RTL Languages

The HelpDocs text editor has a button you can click to switch text direction for RTL (right-to-left) languages like Hebrew. But there's some other parts of your template you'll want to edit to make everything appear in the right (pun intended) direction.

Updated 3 weeks ago by Jake Peters

Making your printed HelpDocs look nicer

Users can print your articles using the regular browser flow (Ctrl/Cmd-P). You can make their printing experience nicer by adding a print stylesheet.

Updated 2 months ago by Jake Peters

Disabling Top Articles

From our experience top articles are helpful for customers as they guide them towards the most useful articles. We don't offer a native way to turn off top articles, but you can hide to easily with a little CSS.

Updated 2 months ago by Jarratt Isted