---
updatedAt: 2026-04-20T19:36:54.000Z
---

# #header-container class

![](https://techdocs.akamai.com/identity-cloud/img/oidc/user-experience/configuration/legacy-css/header-container.png)

Defines the header for the main container. By default, this where the logo appears.

The following illustrations show: 

1. The #header-container style before applying CSS changes.

2. The #header-container style after the **background-color** property has been changed to **pink**.

| Default CSS                                                                                                                                                                                                                                                                                                            | Modified CSS                                                                                                                                                                                                                                                                                                                                          |
| :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| ![](https://techdocs.akamai.com/identity-cloud/img/oidc/user-experience/configuration/legacy-css/header-container-original.png)<br /><br />#header-container {  <br/> padding:20px;  <br/> border-bottom: 1px solid #f2f2f2;  <br/> display: flex;  <br/> align-items: center;  <br/> justify-content: center;  <br/>} | ![](https://techdocs.akamai.com/identity-cloud/img/oidc/user-experience/configuration/legacy-css/header-container-modified.png)<br /><br />#header-container {  <br/> padding:20px;  <br/> border-bottom: 1px solid #f2f2f2;  <br/> display: flex;  <br/> align-items: center;  <br/> justify-content: center;  <br/> background-color: pink;  <br/>} |

# Sibling pages

* [body class](https://techdocs.akamai.com/identity-cloud/docs/body-class.md)
* [h1, h2, h3, h4, h5, h6, p, a, span class](https://techdocs.akamai.com/identity-cloud/docs/h1-h2-h3-h4-h5-h6-p-a-span-class.md)
* [h1, h2, h3 class](https://techdocs.akamai.com/identity-cloud/docs/h1-h2-h3-span-class.md)
* [p class](https://techdocs.akamai.com/identity-cloud/docs/p-class.md)
* [a class](https://techdocs.akamai.com/identity-cloud/docs/a-class.md)
* [button class](https://techdocs.akamai.com/identity-cloud/docs/button-class.md)
* [#logo-class](https://techdocs.akamai.com/identity-cloud/docs/logo-class.md)
* [#main-container class](https://techdocs.akamai.com/identity-cloud/docs/main-container-class.md)
* [#floating-container class](https://techdocs.akamai.com/identity-cloud/docs/floating-container-class.md)
* [#content-container class.](https://techdocs.akamai.com/identity-cloud/docs/content-container-class.md)
* [.footer-container class](https://techdocs.akamai.com/identity-cloud/docs/footer-container-class.md)
* [.auth-screen, .auth-success-screen class](https://techdocs.akamai.com/identity-cloud/docs/auth-screen-auth-success-screen-class.md)
* [#social-login-buttons class](https://techdocs.akamai.com/identity-cloud/docs/social-login-buttons-class.md)
* [.form-action-buttons class](https://techdocs.akamai.com/identity-cloud/docs/form-action-buttons-class.md)
* [.profile-management-card class](https://techdocs.akamai.com/identity-cloud/docs/profile-management-card-class.md)
* [.profile-management-row class](https://techdocs.akamai.com/identity-cloud/docs/profile-management-row-class.md)
* [.card-body class](https://techdocs.akamai.com/identity-cloud/docs/card-body-class.md)
* [.card-heading class](https://techdocs.akamai.com/identity-cloud/docs/card-heading-class.md)
* [.profile-header > div class](https://techdocs.akamai.com/identity-cloud/docs/profile-header-div-class.md)
* [.screen-heading class](https://techdocs.akamai.com/identity-cloud/docs/screen-heading-class.md)
* [.manage-screen class](https://techdocs.akamai.com/identity-cloud/docs/manage-screen-class.md)
* [.auth-success-screen class](https://techdocs.akamai.com/identity-cloud/docs/auth-success-screen-class.md)
* [.success-check class](https://techdocs.akamai.com/identity-cloud/docs/success-check-class.md)
* [.button-danger class](https://techdocs.akamai.com/identity-cloud/docs/button-danger-class.md)
* [.action-card class](https://techdocs.akamai.com/identity-cloud/docs/action-card-class.md)
* [.button-secondary class](https://techdocs.akamai.com/identity-cloud/docs/button-secondary-class.md)