Recent searches
No recent searches
Is there a way to add Sidebar navigation into an article
Answered
Posted Feb 26, 2019
Is there a way to add Sidebar navigation into an article? Example: https://www.w3schools.com/howto/howto_css_fixed_sidebar.asp
1
14
14 comments
Nicole Saunders
Hi Mary,
Yes, you could add some kind of sidebar navigation by customizing your Guide theme.
0
Lotus Themes, Zendesk partner for Help Center design and customization
Hi Mary,
You can add sidebar navigation to your help center using our Zendesk extension:
There is one more extension - Table of Contents:
Alternatively, you can get Lotus One theme for Zendesk that includes side navigation and other additional features by default.
Mary, if you have any questions, contact us. We'll be happy to help.
Best,
Lotus Themes
0
Mary Paez
You showed me side bar navigation in the Guide theme. I asked about sidebar navigation in an article. Sometimes we create large articles that need navigation help b/c there are many sections. We tried the bookmark approach but does not work very well.
We would like this type of navigation within an article: https://www.w3schools.com/howto/howto_css_fixed_sidebar.asp
I've experimented by copying and pasting some of the HTML code from this site to use in the source code of the article and could not get anything to work.
0
Nicole Saunders
Hi Mary -
In order to implement a customization at the article level, you would still need to do this from within the Guide theme.
0
Mary Paez
Do you have an example of an article where it shows this type of navigation. Would like to show our team and ask if we can do something similar.
Also, wanted to know if we add tables to articles and want all tables to follow a consistent color/border/background, is that possible also? and, How? do you have an example?
0
Nicole Saunders
Hi Mary,
I don't have examples but hopefully some other users can chime in and share some with you!
0
Coley Woyak
@... did you ever find a solution to this? I am hoping to do the same thing.
I had my html formatted for a table of contents that remains on the left of the screen as a user reads the document, but it did not render correctly on zendesk. I switched it back to a macro TOC (asciidoc) for the moment.
Some of our documentation is very long (30+ page PDFs) and a side-nav feels indispensable.
0
Mary Paez
No. I do not have a solution yet.
0
Karen D Snyder
We have a brand in our HelpDesk that shows a sidebar with the sections on article pages, as shown below. So it's not a full table of contents, but does provide navigation to sections.
I can share the code, but I didn't write the code, and I don't know who wrote the code. You might be able to work with it to also list the articles under the sections.
This is in script.js inside the document.ready function:
This is in article_page.hbs:
This is in style.css:
Hope this helps.
0
Lisa Sedlak
Thanks! I will try to play with this code next week.
0
Sabrina Kwok
Hello Lisa - how did it go? Any progress?
0
Lisa Sedlak
I didn't get a chance to check it as I have moved on to a different project. Thank you for your help though!
0
Glenn Eccard
Hello, All
I was curious as to how the code snippets provided above for side navigation could be added to an existing theme? Any assistance would be great.
0
Nicole Saunders
Hi Glenn -
Karen's post above (https://support.zendesk.com/hc/en-us/community/posts/360004420687/comments/360011079073) includes all of the code and the places to insert it.
Here are a couple of articles that might help you out:
Editing your Help Center theme
Using themes and customizing your Help Center
Customizing your Help Center theme
Note that theme edits are not available to those on a Lite plan. If you aren't on Ppro or Enterprise, you'll need to upgrade in order to make changes.
0