Category dropdown

Display all categories within a menu in the page header.

Category dropdowns appear in the page header, providing access to all categories (and optionally sections) throughout the help center. They are fully responsive, meaning that they’ll look create on desktop and mobile devices.

Like other navigation elements in our themes, the list of categories is dynamically generated based on the content you’ve created in Zendesk Guide and will automatically reflect changes that you and other help center managers make.

Single category dropdown menu
View code
0b1b3e10e12f741b7061294d38d61a84fd5b7f58446f365e1b91b606c9a06a7ff07d77fd3f26ec49de9ee4814b7c08c6ddab50a12cbe480cb51bde3aba435360928fe9752ab0ba475db97fb025e29c49a2577d293a15c09aeba3125e66954af78932726cb31b81656700a365f295c14cbcf8a4f6107821414683bfecddd827d0a1ac2c2ca85096874e447c04377267967af08ec2f1002f2ddd7264c8e4d23dfee2bfe0c66ab7b71de4a87f3dc1ae6ac152a9bd7bc88da9826ab04ee0d4699b2cd412e9aff8967ca6f7df304bbfa7bd8909b7d4102551e8093d37d15d6114489e6ee2faf3835d8602cdcb47eccc25e9bdf7ad129bdcfda6441a9ff3b64d96e3b8ba6554369ae27588aeb999766a5e18ee05436fccc69c71eca7464d01d4151c79fb26547808b907f3ba2aa1409d65b63debff32d1243011dba6d4b430a423e94b650f252651340aa6dbcf8ac766d50ce1f8661e0fa87b0404c10836aa5eac2ae4cab033ea01567dcc583a403aaecdb87483d04613d11e16bf2a42f89234d2030b17593b055873a78b6d763a737a7700249fa3c3c90ffd3d45a5be5285f7dbd088a56b36834d58fd2cb6ee43c6e790031eb4d59d5ea32c3b332158ceab15b56de48be48dfb35c860359eecd902a129a047db20d4bd074ae2ec0e8ea8928d36ff809f9b07c217bdbd1c8c02cd137fe1efa4c271a9c1465afa4041b2fa56d5493d7789aa732f8b0eb67891881f96cd09b294503b0d04e549cd287eb158c9dd63df7fb0d20e9d02c9e5740209170168fc4bcc6d84f9bfeba202f2477b361d50200dfeef2cc9ac0220785ebbef14215db2810f50615ba6d20f41aba2be6f294f6b9f40466e40e428a7f91d20bc0ad9fa7af01a2bddc636d7b54cfd2bffdceef9a34aed4070c0507aa87d04b220e3561f82cc869d4385f3a3c954715d7e91025270f8763283f15065482bfdc5543e21100adce24fbe961392e30776b906202ade68fd10afb39bf2e9e095fcddbdeaa5a031dc94552299babfbf6810c75189b6e5d9b6f8cb09cea78e0897afc8f21efe4a183b8aba3ffeb740358de8895b146bdd6d5f4029576a09a5bdcdfec440099e1f910298afc11049731edf94c3b596ab582c742020e09f5601dc9f2a311a84086a6a9495a9d1083b0eeaf2a52f15f90ff3567f40b9f901d9476000678e4a7eb5aef557d59a1b8c3786b758e5ea73ec699726349a76b7636febbcfb1652c23ed249b82baf201cbf62a4593cf8d034d5fd93e4d14c5b8ff3912f36a72ade55788abeea62c157cdb0f14714e68c1605bc282e801c56ab0f110e1bdf0a9eff22459a5def94ee7951253cdbf0f21790854fdcc70723a1566ccd8c02635b25037888cfc0dc6d999dcec9640532bff9b091e1b7429018568eb493d1c9d1f25648e48b4b5cd8df0de1e024166760e4c8679cfb7bfe99a6de346c69f1e7ce1955d0d4d7d486e8906ff33e6b1b6c39e9a93555b1d39561e86ebe85340155623db9bfa7d1a5af50d5590fb99861c3ceccee32e6d22c7f089bc05913259b07da2e1198b4b21a535c51498de638356dcaa4d7b05d8814f509df025e757f44f54b6f796dcda613cc466240a17c1c1864c692ff440209b37b512e9273d576f2146947ff84807199449c7ce7f77c09f44d146a49f78587e0229eea7f6a094846a9a8d6f818d141c0cab264cb8f6b6480767ecb51e298c2c0254b652a39383788d2d14c8f627a0ec478490012507dd7796519491d3b79df3af62745dffdd9713ddaeeee21bed8508249f754b6d7e73f86d4fc579d8fdac1416439375eefcd1b91cf37fc0a03511e3c2dcc19cc821d563245067b8c4f40295548658b434041870596af2b28048ae5a5dc981d07221706ccd720d89fae53cf21bcefc3651b192eab1f016ae6ad3611962f8fdac69afa379c047e27f54d886996373e1a115cd0bbb9313a9f5928be47d604fa34d0a52752134d784f9ce6411ce9d09c0605d7d695eceb6d44fae1edf589b379318e259b4f53df809ca640cf4447512e8e0c43584539d486f63a4bc995b1a5c2886ea3809a4e10b1639f4854306e9b96da015479ec719a7885f8db2b98e0daa2e211d381942394562399875b5e8fbf48cce3f92d5c5e5a0cc9e96da4b75c441577656fcfb9725d77b682f210cc3b5f8b7d1b55068cc355d8d118253715ef1f244b382180090b240a0dde4ec85b8d9305fef59b044c7ad0626d223f68eb2692f612c11a8ee48fac36f35bc2bef62cb08779aec8466041cfe28dfe1032400b2d50131228e3da80cc0d4c2422a4c3daa1345ef0395265c1b813c6b27b7084468c77f3c0fca0277855c899dcecabdc0910628a34907b0061f67d1f46bd798b70b6364f2f249f89519f18b3925cd318fa9d231373605a2eb8b31d2d3647efebdf97e2e9e4a8c50e178a4548c17af63dbcb1cdbd9e1725971c83225342d72b6dfc88a6c0caba95054988ed1a87f899e873042c6d32139657df401a11da8933113ace8b3be37f62b7ae430af8b277a99d8844feeffb0e0278cb6d2caea96a66c37373cbe634459def6986726462f47597896bed7d56a47655e1a2da2ecf7a5e08407f976d663cc2fb67f685a972761547db06c03fcca3fd023020a0d4fd57c74c7d57cf86c0b6e959913608c9e6bdff66a5bc7a9964

The default layout is a single category dropdown, but multiple category dropdowns displaying child sections can be easily added.

Multiple category dropdown menus
View code
1a32232726abffdae45679404f85b92ef9fbffd15b592a2f29668874d3ab3de44dbddaf0311d874462d0703f20a52393dae9c45092746b5efe378bf4babf8f86bd628ef88e225e442ac8e3707ee0a2888ab5570a95c1cbd140704e84de841e9cbf707d1634ac756d54d75f721ee7efd652e67689a8b98a1362664327b99df015bd8d96baf8cdd35d5bb7639501ff1cc2ec5f2a6afd499c13ae83dd2a57cafa89bed2e1efa482f2539b7ddffad8f548f87880e6389d6e19d2cf6698ab88b1a1ef553f308dbe1972b3fc6eaea0718c0a85864fe5a59f434d35599cdea7fff50697879837bad77dcc72edf596d679777b749e8f4b3d3791f1143d63bc40f4a0dc9966d43db5ee340d5b53be356d8dc6e2679307da57ce088f070f46cf6c61ca38b15369cd1aa6f2f2eee86edbd1c16021ebb14dd584738508c19612ad7ac1c315a41aa490c5999a48226c4555bd9730f47135a6be14f263ce9eed53bed27bed388d04261f4a43d96881844530283ac4e06224055ce472b7400e570bb33fedc8bf99ec2560d073d3a32632f0a27c2ca5a876077e2d0dda9f0bc7f6b3534951364decf3af62dfde33aed0db4d625e679c45586da04e7d535d789ac8cb35411113f88aceebc1783c875ba9630b6e3b16be3da248394a925d0fa4a3e048b67e25a54e2cb633a6a84b973fbb38fd2b3f236a2e7068532e3d8fc4924a52a3cf202882b7ed77eb21c5891bae262e6e1ed68f465fdcd91794acc74bdb69a0ec775477a42220aa6e44fb9dceec9c898ef855905193c531dcd4b646260ed5cdfdc619bcd4990c90681411a260af296e5d7c63d41582e5378746f44560465fb9cda505057f5aa2e1b049142479501dff84fd19f8f2369ceb716866b1e7559a21510d5cecd142c3ecb1e0965d394af58ab9db9009d4792109ccc68c9d00694ad122d5aef70a79e5150810e927735b97c141430e4df9c30d91c166d20dc60c8aec70b469f126f80e1a6890316b29923bf01587594b31e0fa876128afae6b1ed63e6ba7c0c553b264b468c553f27d31b4fb4486056ce15b716addafa96a50e2c3121221b7cc451b24881dd3a04552565b9f02fc3b9e262e13abc3774241782c23a139fa0d3c0f0a4ff10571b742ab910a0fcf8ade399f8e3768984a2097057c5fe16648443e93c399dcbf107fd1474fae0a89cad62318ea36294abafc43ac62ece9b99ef1c21ea782219e501c40b402cadc253db2a4f07c3573ed6c36043b5021731bc24e935b04f880474ab289ea60dde21ffd51e656c9d1595a007fef1a1e7ffcc18abc7f5ea573e7d2e19ce4dc3221e49bba6cf70a67915ffae100b57608da8f403503783374a51ad9ca142af8a4d54e3023ef562fc68f017d859343a4d86c57a656fa33e15b276441da7b66dbdf15a7f11652ec7e825ac51f025fecd6345606b4a86dc2971789a3216a2baf3fcd5bac47dc628c953b475d8ec043c8d733c6a2847cc453ec73bb00ac450876a8132287bb22ec7299d925d690da6ee49d0f5c625fea78c2ef1449eb686b55371a5380b1a3be7c3f397f65ccf083d88852ab860e55d3b4cd090920292799d3d45f4596955dce88e20ed03326b2c3afde213cc189b842a1534a241c14a507a48a89e9dc38ca59906c8aa56ad0e89e07c3bcaeb7e1cd66729db6f6553825fe0c394cdc13f29cb1fefc1e96ccc576e81fb9a63f737015083f659a68d755734bd4ed86530b78ae9c25ba9bfecb6cfb0dad8084d0f904d5f3e7d7a2d112d8e9aa32886f92d1a135ece76938c30096c6b035ee522a6bf7a7b761475c3ae720dac90f86f6cde58a54dc298d3d8bcd63ae316ec3f788307880d5e167c16da8a7c915701ac05cbe1a6ec0c1b5e68c86ec05e08fdd031c51644fce400a3dbd56af44e2742b3f03cc9e396616cf6a30ef9656810c55fdca5dc8b9cef278e79f743883b46dd6949e4ce73cc5d2e5399c2cfaf98e00a230c3a343272582cc5c33fe4e94b14a0beeaf300a4c8718a213f95680a44cae1a3e42565721f5df091bf3e4696bf4e28c23a540148963e385af82c19024b6e1b5008a6b882d84ff7e5385302b6c81fe79c1184ad274c8a82ee0325b8a83ea5e057cc15dec23b50ef44985c3a3de9aa0a02a0a93ed01bc41817bb3f9b64a2689b5d8e3717733f462429d541ebaf106bcef371891750a67e050ac81027ddb2fa257e24cca3b0a7c257138f3dedc84c835b6ac81705bf40d8f79b6c1d45eb9f213a1dd0c068c1680f847e0e121e185b7083b98ac19b19beb4634295ce17469302493bf37b0a7b06614561a4cb9dd88b1a3924b5b61dd2a79f4b3fa807bf00de028e9ee336fca78151b0265aa568c937c15510742071e7b5548a3904cfa067968cfb1780a989dfef528c8379e97d6fa43699a339f39d2d2a129c9e83279db169828d4be669c17de39c93bbee7bc77ebbb25cb3b6f97a2ab3a005841248edff1d7764abc69a054ac2e92fe8f76b34d8dfd469d87623b8faafc6b9a34c1f6afe7555bc57e08774defca8a7ef96b6289323adde2ebf132d20bfaaf7e838497843b01ccf1d0be7df7d3d30c086318b38fc3e4f1dbb1853673e206b319cf48fb35735579c0ed38e29af245aec64948f3f7f87dc9b37a43e522cb4d1cc6390a2e2a4c9cc37d7f9849cd607de2d729fde30be2a8f2190038de8d614a51ba5a16a6dd85d20e23947a470efd064324415243114fe9af100c54f2fa1f07054cdee1181fcca68f7150687925e54f699c491575b1f02368d1b7541175fce862f723fca77777f45ce872f442e4ffb8344981232eef458991e90b076109f8e2107d4b5c60a729ea4654c8a9efcb153064ce3303c5daf75853acf4a106a38ff589990eebf45e236e5884702845214c171829504ad1f38bdf9f3f19e509c6a5f9f62d80127501c947b7b21f0cf5ea94488cc3db9d8db5e21c9c1c7f40a692d0c600ce649989a9b879c8e62ae4fdb980012be773bf4f089ef78af569484fd3bcd6dc1e182a183bbb122f6b0b08d4c8c741035095bd9dd54c32e2d425d7dfdd2e026429a1ab8d1f3fa742be71fee455ace9815be8b10be66e0e3030e01916c1625b9c0663a857b419b27dcd9ed15856d3b0089b55c49eee5e50236972fa31e2f5eee356434d500ca1f54787ad005fee81168becd45ef235536fe99430e092a66ad430250f6fdbb4bad3ced97d0e92556a61caea1c83c1

Because the extension build upon our powerful micro-templating system, you can completely change the look-and-feel and functionality of the dropdown menus. You can even control which pages they appear on with a few tweaks to the template!

This extension is bundled into all of our themes by default, so you can start using it straight away. It builds upon our powerful micro-templating system and gives you full control over how the search terms look and behave.

Our themes allow you to add a category list in a dropdown menu to the page header using theme settings.

  1. In Zendesk Guide, click the Customize design icon (Customize icon) in the sidebar.

  2. Click Customize on the theme you want to edit.

  3. Expand the Header elements section select a style from the Category list style setting dropdown list.

If you’d like to display a category dropdown outside of the page header, you can copy-and-paste the following category dropdown hook into your desired position:

{{#isnt settings.category_dropdown_style 'none'}}
  <div data-element="template" data-template="category-dropdown"></div>
{{/isnt}}

Our Navigation extension allows you to create category lists and navigation structures if you’re looking to display multiple category dropdowns or all categories and sections in a more general layout. To achieve this, replace the default category dropdown hook in the header.hbs template:

{{~#isnt settings.category_dropdown_style 'none'}}
  <div data-element="template" data-template="category-dropdown"></div>
{{/isnt~}}

With a Navigation extension hook and template:

{{~#isnt settings.category_dropdown_style 'none'}}
  <div class="flex" data-element="navigation" data-template="multiple-category-dropdowns"></div>
  <template id="tmpl-multiple-category-dropdowns">
  ...
  </template>
{{/isnt~}}

Custom micro-templates

Each theme comes with a number of built-in styles that you can choose from using the Popular keywords style theme setting, but you can add additional styles to your theme by:

  1. Editing the micro-template of your chosen style on the footer.hbs template.
  2. Copying a style across from another theme if you purchased our Complete Package.
  3. Copying a style from our Pattern Library.

All popular search term micro-templates use the same keyword list defined in theme settings but can differ significantly in terms of their look-and-feel and behavior.

Related extensions

Article navigation Free

Article navigation

Display links to next and previous articles.

Collapse Free

Collapse

Create versatile collapsible content areas anywhere in your help center.

Featured articles Free

Featured articles

Display a list of articles with one or more labels.