Customize Badges

Learn how to customize badges throughout your Staffbase platform with advanced custom CSS.

Employee App
Front Door Intranet

Badges help your content creators know that users have completed a task or read and acknowledged an important News post. With custom CSS, you can give badges on your Staffbase platform a custom touch based on your branding guidelines. In this tutorial, we will walk you through how to customize badges in your Staffbase platform with CSS.

On completing this tutorial, you will be familiar with the CSS selectors required to customize your Badges.

Using custom CSS can result in undesired formatting or styling. Use custom CSS only if you have experience working with CSS, and always double-check what your app looks like after applying your styles.

  • You have the role of an administrator in the Staffbase Studio.
  1. In the Studio, click the gear wheel to open the settings.

  2. Under Customization, click Branding.
    The Branding page opens.

  3. Under Custom styling, click Adjust the styling of your app.
    The Custom styling editor opens.

  4. In the editor, copy and paste the CSS snippet.

.news-feed-post-badge.type-highlighted{
background: #ff0084 !important;
}
.news-feed-post-badge.type-acknowledged{
background: #5791b6 !important;
}
.news-feed-post-badges .news-feed-post-badge{
margin-bottom: 10px;
border-radius: 50px;
font-size: 12px;
font-weight: 400;
line-height: 16px;
padding: 3px 9px 2px 9px;
}
  1. Click Preview to test your CSS customizations.

  2. Save the changes.

You have customized the badges in your Staffbase platform.