Add a text to the Employee center Header

johnvpr
ServiceNow Employee
ServiceNow Employee

Here is how you can add text via CSS to the header without modifying the widget:

johnvpr_0-1718656275083.png

 

Add and tweak to your needs this CSS to your sp_theme:

 

 

// JP Custom header text
.navbar-brand{
 display: flex;
 align-items: center;
}
 
.navbar-brand img{
//  filter: invert(1);
  margin-right: 30px;
  margin-left: 100px;
}
.navbar-brand:after {
  content:"ACME inc.";
    margin-left: 100px;
        margin-top: 5px;
    font-size: 30px;
    font-weight: bold;
}
.homepage-search-bg {
  border-radius: .8rem; 
  position: relative;
}
   
// JP Custom header text - end   

 

 

Thank you Andrew S, for sharing the sample code

 

John

0 REPLIES 0