Customizing Help Center CSS - Zoho Desk Knowledgebase

Modifying CSS to Customize your Help Center

Many times you'll want to customize specific elements like an article details page, add ticket form, topic lists, or anything else visible on the help center theme. You might also want to edit it globally (on the entire help center) or only for specific categories. In these cases, you'll need to use Cascading Style Sheets (CSS) to customize the style of your theme.

But if you're new to this whole CSS thing, you need to understand a couple of things. Elements of your help center are given classes and id's. You set styles for specific classes and id's in your help center theme's CSS section. The most powerful tool at your disposal for this task is your browser inspector, which will show you all the CSS associated with any part of your help center page. The inspector will help you identify the selector or original style containing the properties you want to change. You can then copy these selectors over to your CSS customization box, to add your custom properties.


In this guide, we'll share the properties that you can customize and also demonstrate a CSS customization that you can accomplish on the help center.



As you can see in the screenshot above, our help center page code starts with the line:

<portal data-reactroot class="html articleSubCategory signedIn zohodesk">
This is the root element of the React component where you can customize the appearance and behavior of your help center in a clear and secure way. It consists of three different class attributes and let's look at each one of them below:
  1. articleSubCategory: This attribute defines the pages on which customization should be applied, so that the style won't apply anywhere else. The following table lists the other attributes that shall be referred to while performing customizations.

    Page
    Class Name
      Home
      home
      Ticket List
      ticketList
      Ticket Detail
      ticketDetail
      Add Ticket
      ticketForm
      KB Category List
      kbLanding
      KB Subcategory
      article_subcategory
      Article List
      articleList
      Article Detail
      articleDetail
      Community Category
      communityLanding
      Topic List
      communityList
      Topic Detail
      communityDetail
      Add Topic
      topicForm
      User Profile
      userProfile
      Sign in
      signin
      Signed-in
      signedIn
      Sign up
      signup
      Forgot Password
      forgetPwd

  2. signedIn: This attribute defines the authentication status of a user. When specified, the customization is shown for users signed in to your help center. You can remove this attribute while making global changes.
  3. zohodesk: This attribute refers to the name of the category. When specified, the customization is shown for users accessing the specific knowledge base category.

Sample CSS Customization
Let's look at a sample CSS customization script that removes the background image on the header and adds a background color to the "KB Subcategory" page.

Before Customization



After Customization



You can use the following CSS code to customize the page as above:

.articleSubCategory .Header__header{

background-image: none;

background-color: red

}


        Create. Review. Publish.

        Write, edit, collaborate on, and publish documents to different content management platforms.

        Get Started Now


          Access your files securely from anywhere

            Zoho CRM Training Programs

            Learn how to use the best tools for sales force automation and better customer engagement from Zoho's implementation specialists.

            Zoho CRM Training
              Redefine the way you work
              with Zoho Workplace

                Zoho DataPrep Personalized Demo

                If you'd like a personalized walk-through of our data preparation tool, please request a demo and we'll be happy to show you how to get the best out of Zoho DataPrep.

                Zoho CRM Training

                  Create, share, and deliver

                  beautiful slides from anywhere.

                  Get Started Now


                    Zoho Sign now offers specialized one-on-one training for both administrators and developers.

                    BOOK A SESSION







                                Quick LinksWorkflow AutomationData Collection
                                Web FormsEnterpriseOnline Data Collection Tool
                                Embeddable FormsBankingBegin Data Collection
                                Interactive FormsWorkplaceData Collection App
                                CRM FormsCustomer ServiceAccessible Forms
                                Digital FormsMarketingForms for Small Business
                                HTML FormsEducationForms for Enterprise
                                Contact FormsE-commerceForms for any business
                                Lead Generation FormsHealthcareForms for Startups
                                Wordpress FormsCustomer onboardingForms for Small Business
                                No Code FormsConstructionRSVP tool for holidays
                                Free FormsTravelFeatures for Order Forms
                                Prefill FormsNon-Profit

                                Intake FormsLegal
                                Mobile App
                                Form DesignerHR
                                Mobile Forms
                                Card FormsFoodOffline Forms
                                Assign FormsPhotographyMobile Forms Features
                                Translate FormsReal EstateKiosk in Mobile Forms
                                Electronic Forms
                                Drag & drop form builder

                                Notification Emails for FormsAlternativesSecurity & Compliance
                                Holiday FormsGoogle Forms alternative GDPR
                                Form to PDFJotform alternativeHIPAA Forms
                                Email FormsFormstack alternativeEncrypted Forms

                                Wufoo alternativeSecure Forms

                                TypeformWCAG


                                      All-in-one knowledge management and training platform for your employees and customers.

                                                Create. Review. Publish.

                                                Write, edit, collaborate on, and publish documents to different content management platforms.

                                                Get Started Now




                                                                  You are currently viewing the help pages of Qntrl’s earlier version. Click here to view our latest version—Qntrl 3.0's help articles.




                                                                      Manage your brands on social media


                                                                        • Desk Community Learning Series


                                                                        • Digest


                                                                        • Functions


                                                                        • Meetups


                                                                        • Kbase


                                                                        • Resources


                                                                        • Glossary


                                                                        • Desk Marketplace


                                                                        • MVP Corner


                                                                        • Word of the Day


                                                                        • Ask the Experts


                                                                          Zoho Sheet Resources

                                                                           

                                                                              Zoho Forms Resources


                                                                                Secure your business
                                                                                communication with Zoho Mail


                                                                                Mail on the move with
                                                                                Zoho Mail mobile application

                                                                                  Stay on top of your schedule
                                                                                  at all times


                                                                                  Carry your calendar with you
                                                                                  Anytime, anywhere




                                                                                        Zoho Sign Resources

                                                                                          Sign, Paperless!

                                                                                          Sign and send business documents on the go!

                                                                                          Get Started Now




                                                                                                  Zoho TeamInbox Resources





                                                                                                            Zoho DataPrep Demo

                                                                                                            Get a personalized demo or POC

                                                                                                            REGISTER NOW


                                                                                                              Design. Discuss. Deliver.

                                                                                                              Create visually engaging stories with Zoho Show.

                                                                                                              Get Started Now








                                                                                                                                  • Related Articles

                                                                                                                                  • Advanced Help Center Customization Using HTML and CSS, and JavaScript

                                                                                                                                    You can customize the appearance of the Help Center using the basic color themes. However, it has its limitations, as it doesn't allow you to rebuild the header and the footer completely as you like it to be. Here comes the advanced customization ...
                                                                                                                                  • FAQs: Help Center Customization

                                                                                                                                    How can I customize the help center according to my business preference? Help center is an online resource where you can host a wide variety of resources, such as FAQs, troubleshooting guide, help documents, videos, and eBooks to let customers find ...
                                                                                                                                  • FAQs: Help Center

                                                                                                                                    What is help center in Desk? Help Center is a customer portal that allows users to learn about the product and understand its processes by accessing knowledge base articles. It provides a platform for self-help and learning, where users can find ...
                                                                                                                                  • Switching to the new help center domain URL

                                                                                                                                    If you have been using the Help Center without mapping your subdomain (for example, support.mycompany.com) to the default domain, this article is for you. When you sign up to use Zoho Desk, your help center's default address is a Zoho Desk subdomain, ...
                                                                                                                                  • How to customize your ASAP Help Widget appearance

                                                                                                                                    By customizing the appearance of your ASAP help widget, you can reflect your brand's identity. You can select the theme colour and size of the ASAP window and customize the launcher's appearance, including the icon, shape, and position. You can also ...
                                                                                                                                    Wherever you are is as good as
                                                                                                                                    your workplace

                                                                                                                                      Resources

                                                                                                                                      Videos

                                                                                                                                      Watch comprehensive videos on features and other important topics that will help you master Zoho CRM.



                                                                                                                                      eBooks

                                                                                                                                      Download free eBooks and access a range of topics to get deeper insight on successfully using Zoho CRM.



                                                                                                                                      Webinars

                                                                                                                                      Sign up for our webinars and learn the Zoho CRM basics, from customization to sales force automation and more.



                                                                                                                                      CRM Tips

                                                                                                                                      Make the most of Zoho CRM with these useful tips.



                                                                                                                                        Zoho Show Resources