-
Echo Knowledge Base
-
- Order Articles and Categories
- Main Page Width
- Main Page FAQs
- Set Image and Font Icons for Categories
-
- Article Page Width
- Article Layout
- Article Sidebars
- Article Page FAQs
- Embedding Google Documents in Articles
-
Add-ons
-
Access Manager
Print
Popular Articles Widget
Created OnJuly 17, 2023
Updated OnJuly 18, 2023
By:Dave
5 out Of 5 Stars
1 rating
5 Stars | 100% | |
4 Stars | 0% | |
3 Stars | 0% | |
2 Stars | 0% | |
1 Stars | 0% |
Views199
The widget displays a list of the most popular articles based on article views.
To enable the article view counter feature, please refer to the article here.
Parameters:
- Title: is the title of the Popular Articles widget.
- KB ID – (optional) ID of the knowledge base if you have Multiple KBs add-on.
- Number of Articles: how many articles to display.
Advanced Customization
The following CSS can be used to adjust the shortcode. The code comments explain what each part does.
CSS
/* Change the title font size and color */
#eckb-article-right-sidebar .widg-widget-article-container h4 {
font-size:18px !important;
color: #000;
}
/* Change the article font size */
#eckb-article-right-sidebar .widg-widget-article-container li {
font-size:16px;
}
/* Change the article color */
#eckb-article-right-sidebar .widg-widget-article-container li a {
color:#000;
}
/* Change article spacing from the left */
#eckb-article-right-sidebar .widg-widget-article-container ul {
padding-left:5px;
}
Example
See the right sidebar on this article for working example.
Was this article helpful?
5 out Of 5 Stars
1 rating
5 Stars | 100% | |
4 Stars | 0% | |
3 Stars | 0% | |
2 Stars | 0% | |
1 Stars | 0% |
5
Table of Contents