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
1c67bdadcf112adf55fe5deef211f9de15b8e32668a6667b4c2536eebcea2c9f92e87b704a75420b271d8ecb7da9f2f12fe75f37a8e38fd11b7a8d64fbc491113d9cc2a4f91048d3f5fc49c47a9527f23016c3ede1763ff3d57bd1ffbfb17add47eab18bc271f435a084d77a4db5d6d74ec6cfde68008ad6b9b2ce1db6067410244a9fe40415f5e541f55267120509c3ca1a6f9afb84839b982c286471a2717d57b25d1ee6b088a007c1c51274521e13c24acf8c53f6935f7a52ccc7fe6f07fb7de8727efb212909a0bdf53a754388ccfc7d9d9aef75f1f4dc844ec054d91867a72adfce35461f96b8229a1044af0c46455d9d63106106aa2c8adf6eb731742971386938b5441f7a56e70d121d5a12fb070abece905fc9a45667449c78cb769537f109dce8258369063f86bda6fefdd15eb19a1d06c7e8d7840b9b39d2ba837b578917d1c072d2db2e3eeeb34b6ad1cad9c6573e257831abee697a695228de91cf36071fbe35ac86b70ffee4bc7bacfc04674002ea243e6d19f0bd535c901ba7cf0ae9997bafbafbd89d3af8edd355c8bd2814a1c654edf767873cf1cd71312e7aea76e948c9693ca4cb34c90e7410845bf68d6bb94498a91b30578a3d8dc2d2d19d96652e05bd2138e70e7b47ac28c40c202c2015a9aaa6d0ef05effb5f8215382ccc47781de7029bb3895f8455f419da3bff72b9339f04f13e45cf9a6f2512e3430bec968a8768f8ff8149976b8bbfb18bd9b2f17ea9ace7b6fb65f48f37870e95bb3baf3ec7a84a42a754f7f0e02c33365fbd90b0d6e46b1fc83ce769174619cae58662b9b69f33f56aba9c7a4efd532c1c9d9831801276cdbb570bc2063ff94daabd9a40f50488e13ab5594ccea20f8bd3bd586ad8f8b8eae85ca99b05ee7b86a32bdc31a2e46e154bf504476541bfd16754cea947327716b81fd1942febfb11d9fc7071ebf522694d1f5c873fb214f83c1d469d9039847d0d8afe2790034e59d2bd4daf7453f67047d51deab42f472935e81e35e524cd57e58d38d998df924261c19cc4e167bed109853afe0fc98b7cf1bd94821a4aad7da8b6c2d9994ab85fee912f61a75ccc7d0b588269ee18d7ddee4ba567c404400d31bb4954058d8259edc37eccb675830d4f1ae5ae7391f67ab171ed2d590913131c2dc7dcae80fe485971df10e4f5e0b4301a766612ca5bc144d71b47fde65350f8a5190ac7493b9ab0040cbe101489ec0acaea6631e71b317e421d1becee1ac411a346da6cf2453b0d5b716e92c25a6507c00a4b244cf1b18270106507de811fd27bf839da5d979d5a25c88c50e084cb6653b92c9ab9f695943868c720fd59861cb2c5c3b809fd6ca3de9bfc9028aa2e1816cf5ea0d33508bb5d034d85ac23836b8a77693a1fc7d25d7146c8f188cc97768fb4f1da069a1e74d104785ec6ee4c5679d677d5a42a7c8d537ad447d06ab470ba2df73cb78bc76f683950f90df5bab2ccf7b410727d0b4b5e9c1655638e47ad783e6e2a837d63017f85c9c4f24c5e7b187836ca7dc2c6b361e1fdc41f712dc3cf303801388f6b4176e93b29c7516f2c278af2d9209895497b47857efadab24e16720744cf76a1a1a336743273780d9d9020cd0d7ba56603d70973b173852239ae3ab1d48053a4ad5025d8a96c1e2700908ac93909de6a57138b0fd2b2fe4662f354fa4cafb3dbbca785fc2bfeaddd41d53b60712332f1fa87df48d65d350c76c68e4430613e783f655e7cea0c4cf4681eca334f9e06b80e3d9c951380c7f58127fba564f583556309f8bffa653cb0244ba558c292f631ce5d1dfa4d5ebe8fa0e47d9bf06b0dc8975b84657f656e8fff6abcd11dc2bd5ea22919084440ae065346d210a9f3065f6c1f43ea5d168cfe25046c3f8c658f756752dc216a1df34d16187997b63e28843e3c4232ab446f4f96f8d2d818bcc188451dee67ed675f37db4c0357cad6fb798619565b1e3b803473574db5ea9ed6334d676e1e35a464da8cd0dd08713b6f1b3d0555285c737d48d1778e8a1ae64c5ac7fefc64325c36c044c9be37b94c5fef2918ce4e2cd538fe2e74b11290a6c26d68e1df936883a79124fdb7c052de260b67276f618c0c212741ffcce33f09be3cc72ccaa68a18578f508a7e6e52d97081610d66c3442ef9413d2a1d37f8e2e65f6e159406e76d2eeb3d3a74c230bce5e927a0db328b4fe54c94c9923d38c3a34da3791b67c29d7676f82fadf5da7eb2dd0658a6b8ff10fad1c72ac1eea08ea54da184f7011977a83b7e1fe7dedb8c15400d2707c8c663742a26d7c28ea2ee3d6573d8123e2ddd0d428e45f307d8bf20b44f2ffd99fa306b3c1b553ff7d411d32f1b57b5059829bebfe7d2409e1b25c6c25ba2eedbed5d61993a80d26c33c18f6a257f3f9b674b5e1496784b500fb62f51fd5ed7cdae10d86f09b818f6f11596ec08a181ac8451544d073aa67215b7aa9eff7157637f3b6b4999ca0bef09d473a2b76a54b7c81b4700f443794d1dee923f1ce30053f89b2f019c9add4c7f01f53c7f9c36f6727900a24093495e9c64a6badb4ab1aff61e97c0a82916f27bebbfad71975aecaa284807034a45e0f16c8021839db1ab17b7e4c076874e7a4e9d64a8faa26addbbdf7d0f5e747c0bf6d20a4768f05b4d857d6f8fb7049981da1af23c1757744ebcbff7829277f30782cd02258e10c1d7196d7f85af450055acb8a221c87f10c6cbfab85ab1db7be20471bf3290820566707f66c274004fadbe778f65ce3d95840d6d781c3b650f1ae67c3fb523b56b755689af5ef39f713dda5573c6aed1a0ee2dc07939a8507e21f27a1dc5af37c9cde5fe28f66e7b8a2e7a844c9a1f0daa4f5a8bf3d8e73dbe0666b8870a59d426aa4acfb251b72c05e072a274749e59a8ec7b79cda36cbe0c3e979328aba3783a572925e99d3c919f5f9cbb5ec0e11bd6ae8c5261bff32149c865344e47d00b8f6e8334348c266c35152ccda34c2af351d0f30e18e10ed9b3250b00ce0481984020bd6e1d80d83a596067c9a858fe710240461a0bd30dd07ecf032b36d0c8223c536dee37613228e4b25d89dbe66e8cf0af22e2ed585f111fb9041dff86072692bd622b6b1cdfec8904744f91c0cd3dc1d6a6dcd6ba66f799c47901fec109884c95c2c45572cb24fc80f5fd761690e20db3c4476d034d87e579719ecd449e7073b43f3570eccbb20ca9c6bb15575056d9b94e5b487ff2a2dbb942b8725bc2ef1b5db368fc01cd3faa7c1b7eb3917ac2772c9061ef74aa0806b559f61c35806d2b9cbea1f64a89b26788ed172cc73c88d1b6b25aafa7ab68e8bcd2bca147f0bc5ae3152ca24c6566f2e67f4bf63128afef53c60647d2e1cc33eba43ea0becf1897397cbe1ebecc15e86bc6ccd3878d79e55bd229bf1501cd0333db92ecd502a0218fceb50e0738e0dd132861e86b10d202f84aba897b620e174f153f2976781cac0a3a88749cd8b1ae79411bcc3138ed58dc04c172450bc0d083253cc6f890066a84026b749c429b22fa6f0b34eaf2da56557a377678f9ae744467538f798636cc99a64925522058b13a9ad21a1f01f8dfc382fc8be4b17dbdd0dcd29235c8d3fdb0ea368ea3a028ac05a79f4378c59753fc6d10de188637b211acb265064a76605dd3ac10f5f3bf0e732c99bc2d4a1292fe6e28058fe8b8fd7a4bf12998e8e8a7aa42c449172ba7caae6dbca25669eb2d0bea7a7ea14b69316b3e5d45269e3fadc7dafb169b64744d8c5ec6666a38596a76f033af10c6bddec29fe74a601c0dd32a11afed570a18adcf56c465067fbc69e0978cb2acd294ee0407d0e73da53b98433cca1132f69a0afabea4221e89dbcf000886e396ebab37756e9bf20322b2a64b90433565010a02c9ef6d83fe030193a1afba61da1da4244ec7eeb62b463f40b4c66611a535c7a4457b91f0b0de295db39efb089b18864c9935eb229d1d1c627ff7cea8cb0ac2c97cd0d42c2cef6d5e02a633827b7f535a8a31f789cf146cc1ca2a23a31577ff01c5e6d69ece116344cf58e2a9b89e0d1be091a444d2657f8a048b1ef784b900754b9a270e8fea51297d26f125becf41e9349372bd7f8f152ff311548f2396efeb5036d5dec1474b9af1eb24116611d0d87bc1011f1bd5257d6688682be88bd96a752d7bd4c027c56aa3b754758744fa5fe4ad7aed129e9189e587a9d3589237e4c26edfdfad002292c01929a6f83e6263b6894f297289705ffbf6ed76e6ee18a06807ee7f6180e7a0c5dc1e9baf07e7ff0096de1d542e1054189a8cd0a9022e58999c6061e3ca79fca44da57ad62704044a6f5765c674c552dc744fffeff9edfa0fdb4ea272324e336b889c6c9bfde00683d792

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.