Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Unable to remove white border line from the header on Service Portal

Ash33
Tera Expert

Hi all,

 

When I click the ServiceNow logo on the header, there is a white border line that shows up. How can I disable it?

 

Please see the attached screenshot for reference.

 

Thanks.

2 REPLIES 2

Weird
Mega Sage

Are you using the stock header? 
In the portal settings -> Theme (La Jolla) -> Header.
The OOB header is "Stock Header"

Technically in there you could add a couple of lines in the CSS section

.navbar-brand:focus{
  box-shadow: none;
}
a:focus{
  box-shadow:none;
}

 
You can play around with these, but basically the box-shadow is coming from somewhere and if you can find the CSS where this has been set, you can directly prevent it there. I didn't snoop around too much, so my CSS is just a workaround and having that a:focus will affect other links as well.

Thanks Joni9, it works.