Step 2: Enable Custom header or footer option:
Input your HTML code for the header and footer below. Use the toggle buttons to enable or disable each section.
Step 3: Close the Dialog then Click Save button
Now Header and Footer will be set on Your Knowledge Base and will look like this: