How to change the 'Documentation' header link name?
  • 03 Aug 2022
  • 1 Minute to read
  • Contributors
  • Dark
    Light
  • PDF

How to change the 'Documentation' header link name?

  • Dark
    Light
  • PDF

You would want to change the 'Documentation' header link name that appears on the Home page. Follow the below workaround to change the link name.

The URL link will remain the same, and only the name gets updated

Solution

  1. Go to SettingsKnowledge base siteCustom CSS & JavaScriptCustom JavaScript
  2. Paste the below snippet in the window
$(document).ready(function() {
    if ($('.header-link').length > 0) {
        $('.header-link').html($('.header-link').html().replace("Documentation", "Destek"));    
    }
});
  1. Replace the 'Destek' with your desired header link text
  2. Click Save

Outcome

Before

Header link text appears as Documentation by default.
6_Screenshot-Homepage_header_before


After

With the custom CSS, the header link text is changed as Destek
7_Screenshot-Homepage_header_after


Was this article helpful?

What's Next