メインコンテンツへスキップ

Customizing Your Help Center: Changing Navigation Button Icons - ナレッジベース / Using Deskpro - Deskpro Support

Customizing Your Help Center: Changing Navigation Button Icons

作成者一覧

Your Help Center can be customized in various ways to better reflect your brand. In this article, we’ll guide you through changing the navigation button icons. This is a slightly advanced task as it requires adjusting the HTML template of your Help Center.

AD_4nXcwaAYnSWcut9mlzL4QZ8XbZ1BHT_ORyJoLL3PpzYdmlbE8yak5Th4tom9jkBbJSwnQ71nShC_Ud6bv4kIwdq6Ccml71n_BpCjVCmy0w-0LdZwJfIuV4TqrOecepKQHXRA9lfzq5kiGfiHMwOcW_9cAB1oW?key=QKTDnhiRm91DgbvW_TDwEg


Step 1: Access the Template Editor

To begin, navigate to the Template Editor where you can edit the HTML of your Help Center:

  • Go to Admin > Help Center > Help Center Design > Open Template Editor.

  • In the Template Editor, search for the file named ‘nav_buttons_big.html’ (found under the Portal section).


Step 2: Upload Your New Icons

Before updating the icons, you need to upload the images you want to use:

  • Click on the image icon at the top of the Template Editor page.

AD_4nXddNUSw-RgwwRdBrTnXeG3_6bcBRBm91N5hL3LYc30lrqxiS7KmHBxfiRXFGrE-1FZuSEA6gAVgyvS2UOmAqtaNqbnVyJARr5hhGbqxmRl1y80STkl7mGWhg8qKvIGSC_cCEcKnlQCPAtx-j-KD3UOjjLU?key=QKTDnhiRm91DgbvW_TDwEg

  • Upload your new image by selecting it from your computer.


Step 3: Update the Icon on a Navigation Button

To change the icon for a navigation button, you'll need to modify the <img> element in the button's HTML code. Follow these steps:

  • Locate the Navigation Button Code:
    Each navigation button is within a block of code that starts with {% if and ends with {% endif %}. This is a conditional statement that determines when and where the button is displayed.

  • Find the <figure> Element:
    Inside this code block, look for the <figure> element that contains an <img> tag. This <img> tag is what displays the current iconAD_4nXdeSXASZJLpH8yL0VS_G0x5B1CgCXfcwsguBhmIsVsF1k0wzgRvXeJAbM3hOlTN3H4ErMOdT9IzFEq-EGaje_U6KjdtXSHKV7KftuWYKBBimqNtrSN3J_T2-pxnKJ5NN5RtOS2dG7X2h7jGDoJFyDG6JvSy?key=QKTDnhiRm91DgbvW_TDwEg

  • Replace the Source in the <img> Element:

    • Select the section starting with src and ending on />

    • Click on the image icon at the top of the page again.

    • Click on the link icon below the image you just uploaded. This will automatically insert the image link to your new icon. Then, remove the opening <img tag, as it is already included before the class in this section of code.

      AD_4nXcKC0fT3X7-1gU9N1oNjdADj49x55mHYt7_sB5MJjTcgPsneqVq_ebgKa0OxyJtcPx1BnD844DlQ8m5oj32lNiPoYwgAZkodpIrH1e1L6q4EMPCbvmIxbLIHvN4k9r7jZsrVl3g2CPu2W4Q5nyi716hhXI2?key=QKTDnhiRm91DgbvW_TDwEg


Step 4: Repeat for Each Button

Repeat the process above for each navigation button you want to update with a new icon.


Step 5: Save Your Changes

After you have updated all the icons:

  • Click the Save Block button at the bottom of the page to save your changes. If you don't see a green "Success!" notification after saving, click on the template name in the top left corner of the editor, navigate to the home.html template, and save it there.

  • Check your Help Center to ensure the new icons are displaying correctly.


Congratulations! You have successfully updated the navigation button icons on your Help Center.

AD_4nXe_pVgdfwWeeBTj0sXmAfXp4_QaSfgzHtZqtVmBTRKENqHox0ZFvmlK6fJygyaZJwzKa5jBdmEmMD_jvg153H4rzIwChzPKGdGfPWyxKiXTGO4VyHxh-6L7xvMhqrU3_QX9ufmXVEL92BqhLodxGSXQebc?key=QKTDnhiRm91DgbvW_TDwEg

参考になった 役に立たない

コメントを追加

コメントを投稿するには、ログインまたは登録が必要です。

パスワードをお忘れですか?