From 24479d3e945a8c3d14addbfbc1568423700c8fe2 Mon Sep 17 00:00:00 2001 From: Ralf Schmid Date: Tue, 30 Jun 2026 16:26:34 +0200 Subject: [PATCH 1/2] Add custom KB CSS configuration --- appendix/custom-kb-css.rst | 15 +++++++++++++++ index.rst | 1 + 2 files changed, 16 insertions(+) create mode 100644 appendix/custom-kb-css.rst diff --git a/appendix/custom-kb-css.rst b/appendix/custom-kb-css.rst new file mode 100644 index 00000000..e771ed48 --- /dev/null +++ b/appendix/custom-kb-css.rst @@ -0,0 +1,15 @@ +Custom CSS for Public Knowledge Base +==================================== + +You can apply visual changes to your published knowledge base via custom CSS. +To do so, follow these steps: + +#. Add your CSS file(s) inside the directory + ``app/assets/stylesheets/custom_knowledge_base_public`` of your Zammad + installation. You can use one or more files and choose any name, + as long as they have a .css extension. +#. Precompile the assets by using the command ``rake assets:precompile`` + (depends on your installation method, see :doc:`/admin/console`). +#. Restart Zammad. +#. Access your published knowledge base. Please note: the visual changes only + affect the published version and not the edit screen. diff --git a/index.rst b/index.rst index df112cfa..6a648228 100644 --- a/index.rst +++ b/index.rst @@ -103,3 +103,4 @@ Zammad System Documentation /appendix/reporting-tools-thirdparty /appendix/redis /appendix/custom-kb-url + /appendix/custom-kb-css From f5c3e7f64a8c52f810d5a95f6e80c596632b5f27 Mon Sep 17 00:00:00 2001 From: Ralf Schmid Date: Tue, 7 Jul 2026 14:46:37 +0200 Subject: [PATCH 2/2] Published > public --- appendix/custom-kb-css.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appendix/custom-kb-css.rst b/appendix/custom-kb-css.rst index e771ed48..10630fc3 100644 --- a/appendix/custom-kb-css.rst +++ b/appendix/custom-kb-css.rst @@ -1,7 +1,7 @@ Custom CSS for Public Knowledge Base ==================================== -You can apply visual changes to your published knowledge base via custom CSS. +You can apply visual changes to your public knowledge base via custom CSS. To do so, follow these steps: #. Add your CSS file(s) inside the directory