Support for coding in Category and Section names

2 Comments

  • Leslie Johnson

    0
  • Tipene Hughes
    Zendesk Developer Advocacy
    Hi Leslie,
     
    Thanks for reaching out!
     
    While it’s true that you can’t create multi line titles directly in the Guide Admin UI, one option to make the changes you need would be to add a bit of Javascript in the help center code editor to update the title directly. Here’s a short example which gets the category title on the home page of a help center, and updates the HTML to add a line break. You would add this code to the script.js file in your help center code editor. :

     
    const categoryTitle = document.querySelector(".blocks-item-title");

    if(categoryTitle){
    categoryTitle.innerHTML = "Hello, <br>World!</br>"
    }
     
    You’d also need to identify other areas that the category title appears in your help center, and update them accordingly.
     
    I hope this helps! Feel free to reach out with any questions.
     
    Tipene
    0

Please sign in to leave a comment.

Powered by Zendesk