Print

Additional Styling of Category Page

If you want to further customize your Category Archive page you can use the CSS snippets below.

Requires KB Template Option

This CSS customization only applies to the KB Template option. If you are using the Current Theme option you will need to style this page through your theme settings or contact the theme company to find out how to customize Custom Post Type Category Archive Pages.

Category Page Configuration and Presets

Please note that we are working on enhancements for the Category Archive Page. If you would like an early beta preview version, please contact us

CSS
				/* Move the Category Archive page down */
#eckb-categories-archive-container-v2 {
    margin-top: 100px !important;
}
			
CSS
				/* Changes the Background Color */
#eckb-categories-archive-container-v2 #eckb-categories-archive__body__content {
   background-color: red !important;
}
			
CSS
				/* Changes the Page Title Icon Color */
.eckb-category-archive-title .eckb-category-archive-title-icon {
   color: #fea208 !important;
}
			
CSS
				/* Changes Disc Color */
.eckb-category-archive-title .eckb-category-archive-title-desc {
    color: #fea208 !important;
    font-family: 'Roboto' !important;
}
			
CSS
				/* Changes Page Title Color */
.eckb-category-archive-title .eckb-category-archive-title-name {
   color: #fea208 !important;
   font-family: 'Roboto' !important;
}
			
CSS
				/* Changes Article Title Color */
#eckb-categories-archive-container-v2 .eckb-article-title a {
   color:blue !important;
   font-family: 'Roboto' !important;
}
			
CSS
				/* Changes Read More Text Color */
#eckb-categories-archive-container-v2 .eckb-article-read-more {
   color: purple !important;
}
			
CSS
				/* Sets Min Height to article containers */
#eckb-categories-archive-container-v2 .eckb-category-archive-style-5 .eckb-article-container {
   min-height: 193px;
}
			
CSS
				/* Sets Widths of the sidebar and Main content

In this example: 
First value (30%) is the left sidebar width.
Second value (70%) is the main content width.
Third value (0%) is the right sidebar width ( if there is one )

*/
#eckb-categories-archive-container-v2 #eckb-categories-archive__body {
    grid-template-columns: 30% 70% 0 !important;
}
			

See the comment in each code block to see the effect it will do.

CSS
				/* This will hide all the Meta Data ( Date / Author / Category ) */
#eckb-categories-archive-container-v2 .eckb-article-metadata {
   display:none !important
}
			
CSS
				/* This will hide the Date ONLY */
#eckb-categories-archive-container-v2 .eckb-article-posted-on {
   display:none !important
}
			
CSS
				/* This will hide the Author ONLY */
#eckb-categories-archive-container-v2 .eckb-article-byline {
   display:none !important
}
			
CSS
				/* This will hide the Category ONLY */
#eckb-categories-archive-container-v2 .eckb-article-categories {
   display:none !important
}
			
CSS
				/* This will hide the Read More link */
#eckb-categories-archive-container-v2 .eckb-article-read-more {
   display:none !important
}
			
CSS
				/* Display order: Content / Left Sidebar / Right Sidebar 
This will show the content first and then the sidebars last on mobile.
*/
@media only screen and (max-width: 768px) {
    #eckb-categories-archive-container-v2 #eckb-categories-archive__body__content { order: 1; }
    #eckb-categories-archive-container-v2 #eckb-categories-archive__body__left-sidebar { order: 2; }
    #eckb-categories-archive-container-v2 #eckb-categories-archive__body__right-sidebar { order: 3; }
}
			

 

 

 

 

Adding Custom CSS to Your Site​

Adding Custom CSS requires some knowledge of CSS. You can add this CSS to your theme settings if that is available or to your child theme. If you do not know how to do this, talk to your web developer.

Was this article helpful?
4.3 out Of 5 Stars

3 ratings

5 Stars 33%
4 Stars 33%
3 Stars 33%
2 Stars 0%
1 Stars 0%
5
How can we improve this article?
Please submit the reason for your vote so that we can improve the article.
Need help?
Table of Contents