Create a Custom Sign-In Dialog

Learn how to customize the sign-in dialog of your Staffbase platform with advanced custom CSS.

Employee App
Front Door Intranet

The sign-in dialog is the main door to your Staffbase platform. With custom CSS, you can give this crucial entry point to your Staffbase platform a custom touch to align with your corporate identity. In this tutorial, we take you through how to customize the sign-in dialog of your Staffbase platform with CSS.

Custom Sign In

On completing this tutorial, you will be familiar with the CSS selectors required to customize the sign-in dialog.

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.

Prerequisites

  • You have the role of an administrator in the Staffbase Studio.

Customize the Sign-In Dialog

  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.

1.signin .logo {
2 margin: 0px auto;
3 display: block;
4 background: url('######') no-repeat center center;
5 background-color: #ffffff;
6 background-size: cover;
7}
8
9.dialog.signin .logo{
10 width: 100% !important;
11}
12
13.dialog.signin .dialog-inner,
14.signin .page-content{
15 background-color: #ffffff;
16}
17
18.page.signin .logo{
19 width: 100%;
20 margin: 0 auto;
21}
22
23@media screen and (min-width: 515px){
24 .page.signin .logo {
25 margin: 70px auto 0 auto;
26 width: 400px;
27 }
28}
  1. Click Preview to test your CSS customizations.

  2. Save the changes.

You have customized the sign-in dialog of your Staffbase platform.

Additional Helpful Information