Content blocks and icons

Display icons against categories, sections and articles.

All of our themes provide content blocks to display categories or sections on the Home page. The blocks are fully configurable through theme settings, allowing you to replace the images through Zendesk Guide.

You can choose from several built-in styles, copy-and-paste one from another theme or our Pattern Library or create your own using our powerful micro-templating system. The example below demonstrates a style of content block found in our Braxton theme.

Grow on hover effect
View code
96e032e62d03401c0385b3726a617349f1effb7649d8a2a59251afa8aed2f871b0772e8d9a79c69e55ae15db3b7b6e9afbde6f0b636bb07819b39bfabfc0a59a950f8651641ac067414f2a23af15a78c0e0e60a47146497bf26fc3baaad1e9642841f2d64eb2c2f232f117b7f50f1c72c2ecf32c27277e255e379cbad30ca7be75e39056145cb02f46c01105e216a7ab36e8454692053cd9a28016019b20c1380aa78179ec2058f76d3e83e731a47bae840b466e07ba418cea3737d683e928cc9eec1377eb6f7cd17f882b5de14b2ce2368eeb8ce86df57ecac36e82cde75b99d097af355737ae498a06f6a4d8f949df94efea4e451fc5699ae9583636fd353a9e1bf42238a1e48e6277ab1b6ddab625b020dd73f5b82d04d6d46f91187cc32a6e660b547068791e67684606a211acf5e6eb32fcbc07aa1da8c755b9ff68a62587d66b7597a76b6dd7e7a576acdafca9222d11e2c1e70bc15e6741b3788b621c48d1c9111c33463a3b5aeddada7c828293ed95c1800c378e548e08897cb3a0e659a076c54e5fc4e450b5ed9c8ed51cd4236d7764352570c7f6b5d52b9244a90927dd97d0ff14b2ff5e5d13aa1b51fabe94214749ca67189500e54c12108b09b5786e5cbd71cc7bcf23adf9aaba015db185bb7bd5d939e7a6b4843e81cc641533b549f7195cfad07fd9b3ba3861259a045a69c15eef56be4d5efa6839d228dd320a697356f5d812ab5bf188beb2c7f819a953ed7e11f1f9e103dc9cc93ce3d247288c6ed6fa1d18f0792841fba48ff3eb423b69ab70437470af07d4b3c7e74faae76019268cdc6f73da4ba4ca49a4320904078192f44e36163c12a4ed38bd4dc1d85753ed54c7c3cadf0cb54a74402f604565ae482f6df52758e49db5ea6dc604487250c24696982031c6397063e71ba13b8202531cfb51ae2c0e5b248f9a1eb443470f21d9650ce328b873f20640272cc1ef70397861ef093fea856c4261ccbbf34484e6072387346f5d9bfb6c3470743e81c39d3db679c509b39074b4f0f77ee4699333f59715e3d7830e09326a83f30fd1d48116b5844f5360c367cb186d1de910551e472a9d11eebf680edd8d269ea9e87050185c0a4c2b844a77b4990de16c3fbaf87d83be8cdeaf629a6dd3c74021cc7755c29229565981319acca66e93a6b41f507ffc8943048c5405b7e37c9daa5ebf764ea178765386ede282cc5760695ea00ce4ca8f495fd83e1c3c1004254bc271f6f8ce4f7e0506e23de407314f688f30e76538baa226ddf0f83aa2617ca10f2ac7e40c5b23d8b1f177c1f6dd4701c88155d5f68f76a7fb27fefbc65b3f413214403764e7b394cac8674000fca2ddacd7e2ba8a2db481c181631f2ffc1865f64ace035c01a342e52f7a7c35c101f8b9c998542c2add0bbd150be484e9f7b9acb0123be37ff536c5b101346e1e0c495a252a101b1f78105e5252bba51c5b6a0416820b63f616045ea67d810cd5bb7c017146ffb7d31dd6b90cca54054464017612d7bba1a1ced527ae2bde44688df0f91a869a311ef8104e7ff67c4d09251cc97f5b9f79f7ce1ecdda8f87afdf1ce5853f396e96b71910228b4aa5024e30c9e9fa5b2f14134d113e251cbb96aa44a28b4517fe85cdbca8b0fc73131dc1b7a7dd0d450d8a9e49d68712f9e425eec69b6e2b030f63bba22ffacee485408fbd912ab6aa68b02369b0e7f15af78e645ead26c23a1c1dfbefea2e6e1f74bc02bbdefa7b4680209c205da70408748892cf3d69df3a533f60836e7d4db53268f234b08bc8c790118560ad771a129eaf5fc7b564f94cebbaa9e41289b628379a3978a335e03a36c1d04b36b0bfc9b16695c1369be7a5a6d00b293ac2b443e340e324537c653a350b66c1ae61e095a993a6ef1734983b1d659d8f7fdf11fddca744a34de272e2494f0719fcd466faa38a4160c697457abe4e174557c15995553c7c90fa1562dedb2db1ce965ded9c3c9858e9c2eb710aa3f18957524ce4ef14386b5a8e79496cd26ea456d184ffe319e57ac5b21a8928a212299316b5474306482e987289c28d6c0bdd9753134456a483b7c873d537b3c5e84ff66ee63b9cdd26ae628b22cc51b45745b37e9c9ce92c37280d4a6ce1375d08686be3260f3fff58dc1cdf6b2e557cb6c4121952b9dc0f345d41fe58e16d3119109322e03e944a4c8d00c78b902931072a049562a13f8f85a8a90f0ce85389903e027f52fa35e697c4ea828f94540167a303540e9aeed5225fac8018a59947ba2b597caedd7f5aa8784298f175df5cb7dccc315ec3efc6f4323f4cc13d53dd067ec6645046489ac5330508c7ce848c0e5b9b6759a4ebe686fa2349a1c4c5ea13707fad3344008cfa33e7e39d7341fa92951d675ed562a962276793dbb920fb39c2bee0787f64087f80d620644baefe84e6418a7835ed03f0819e38688f60f80cc0c601fac76449259b9928d4e4b9b73979af47af3d529cc3a1217f6dab8e797dd3e053175ecb08895d149be25d53c1beacd758d8b410cc7dd66f71489ea8266df8da828b39b7ec91792ea9d1c7dd0b4e64859723203285a2852ab3da66c53e7342f198c73e71af08e5e8f7ccc48615d941d94b130470d48e5ca43f43391f092b98f8a174d4ea859241703ea7640f79ced2406926bf6ba9e72ebdd39e91b39de36923b754beebc2c3eb3f23b669e51539aeebbe43ad29072434b4a732478a04c773e2c2af0220a5612f97e66b89b877e7b7c3d358af9e46fbfa1921975103a70720e4b386daaa5bd733d193a5c390de152dc20fb7326bc237063401049e1ef3c0157037cffe91c4e70c810d8394cd204cf80f778be8868acbd12e998274b8a698b21f9934391b5786a98ef66bb1a793ddb73ca19248f71a0af5debcf2cc0f8ebf96cf17481f52b7b0fbbc6bfc46cdb145cd6d945e3a320f72a975f2a1750fa7b0935bc99e574932932d1f11a6ad866d1bba57e595e1c7389c84ddb8b4cebe0ef74b47887f8dc86ef5472d9d4100318847fc51b129efbcf763f743e4a453a7e8386d7246d848e0518af30718637b2a1797064b3b963fd8ce93911dc6865415a152548aaf92a927c52062c43136b2cdb9da8d3313b14143995bc264ad7e8f86a68ecda7e023d8d6b5dfc4d3df81f8dc8dd960245a66f8cdf2783a3e8890cc95eb3853b3e8177b45a4ce0059aa453eb6deef18a3211032135842ef9aecfed47e594de50bef097d68522a1594303ac36fc349d42ba63a17a56bf166f612ddbe0563492d740e46da652083662c707fcb9ac975f7686fc29d21ae3921ea8606618d0a222e58aaa146bde57c8af7e743b2386d56095196db35ddf15198424a3f528babe13989e927537332cf2b0d0b9d4b5779e9f798c76d800a6f173b36d75e7eec5067520f738085bbe72a842a2b289b91fdeebbda1e5d3f7099ab66a846bc46ac4cb422dc845b4b5ccb19ac6e4c5b9297e467978d6691de42395f0905e5d28d33e9e6c3c019d609941fccc1ced0b679c11284152bb80d557eca15f2ac04e8d674ce97ee57a844eb38cca3259b66ba2798d1932bfacab4e82972cae670db81f1f3422e7606f88059ff5a911f0930f1c741bbb906cfc1ad4380f69ea6d5217350493360ba8e736dc2c3b294d61ddaa535cca44008a8c4fde0a5020b8e7658fcf5791a80465aab634d9bd307f6c1df1936a4d5c54cd9ec6ff3ab866276b91f54b206142fc51ba57dfa5752028525f4b5a113d1ef70aea2bfd73a27532ffdcfa4323b2630bbc0a8b84dde15feb50057d949028a2439cc7b7394cb0723ee038633aa4ef7d2fb9cfc91aed0f9f9bf454e246061b978c76d85de47471683937f845ff03c52a1c543e1fa7e98fa55aabc2f63cebf6aa569585f5e575bc7a15c4a242a678322f4dd3908626c13623548f854414bb1c0f1f5a18d729a167ddf2f25e4031dc64390527374ee309f4c0179c3b1c1c8810f4fdd26d787d91148140ef1e1ea6a899fa1f81531ff96a23ece904f5f6aa4a5e15c7e38bd0fa0febe9caa2f842f9345f381123fe16d4bb5f00c9d7e98bf8e919abcbd20bd7bb5abe31140cc82688ea09890b3bf1d9c0c487c6db24a4f80f0117ff7bd3a5e0efcf3b8819e17fceeb5221713cf25349eef27caadd2049b7d9ba843fb714ce3df3523bbf912edc37cd6d1be3facc72fd9ad670f5cca286e36393aab8b0eeed281ad5d8b42102f36f28edce6137352136a18faa42d0cb970b2ddd6b425090b5cbc3c6dd6c9b66a8d87e46978bdcd1a2fe70c43eda62064ac4c38ced7db57d513783e60ab2626e29f874586ce8fed8a49654f4118bb60393a40e6d91108355f5c039673d3e0553a6d22b7cf32948eefc67ac2918ab02cb7

Similar general purpose custom blocks, used to display custom links on your help center Home page, and contact blocks, used to present contact options, are also available and can be configured through theme settings.

Content blocks are bundled into all of our themes by default, so you can start using them straight away. They build 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 content blocks to the Home page 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 Content blocks setting group to reveal settings that allow you to configure various aspects of the blocks. Select a style from the Content blocks style setting dropdown list to have them appear on the Home page.

If you’d like to display the content blocks outside of the Home page, you can copy-and-paste the following HTML and JavaScript code into your desired position:

{{#isnt settings.content_block_style 'none'}}
  <div id="content-blocks">
    <script type="text/javascript">
      ready(function() {
        new Navigation(document.getElementById('content-blocks'), {
          collection: Theme.contentBlocks,
          template: 'content-blocks',
          templateData: {
            images: [
              "{{settings.content_block_1_image}}", "{{settings.content_block_2_image}}", "{{settings.content_block_3_image}}", "{{settings.content_block_4_image}}",
              "{{settings.content_block_5_image}}", "{{settings.content_block_6_image}}", "{{settings.content_block_7_image}}", "{{settings.content_block_8_image}}"
            ],
            imageHeight: "{{settings.content_block_image_height}}",
            numberColumns: {{settings.number_content_block_columns}},
            alignment: "{{settings.content_block_alignment}}",
            color: "{{settings.color_content_blocks}}"
          }
        });
      })
    </script>
  </div>
{{/isnt}}

The code in this example references one of the built-in micro-templates (with ID content-blocks), which you can edit or replace with your own custom micro-template.

For more information refer to the article on adding content blocks to your theme.

Related extensions

Animations and transitions Free

Animations and transitions

Add engaging animation and transition effects to elements.

Carousels Free

Carousels

Present content in well defined and easy to follow steps.

Featured articles Free

Featured articles

Display a list of articles with one or more labels.