Hide one of the Widget 2.0 tabs

If you don't want to use one of the tabs in Widget 2.0, you can hide it:

  1. Go to KB settings > Widget.
  2. Copy the relevant code below and paste it into the Custom Widget Styles section:
    1. To hide the Knowledge tab, copy and paste this code:
      /* Hide the Knowledge tab */
      .widget .widget__nav li:nth-child(1)  {
          display:none !important;
      }
    2. To hide the Recommended tab, copy and paste this code:
      /* Hide the Recommended tab */
      .widget .widget__nav li:nth-child(2)  {
          display:none !important;
      }
    3. The Contact tab will only display if you have enabled the Contact Form in your knowledge base. If you have the Contact Form enabled butwant to hide the Contact tab, copy and paste this code:
      /* Hide the Contact tab */
      .widget .widget__nav li:nth-child(3)  {
          display:none !important;
      }
  3. Be sure to Save your changes to the Widget settings.