Mark Roethof
Tera Patron
Tera Patron

Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

 

Hi there,

 

Ever encountered working with Employee Center, hovering over the de top left logo, and a really annoying tooltip popup that prevents you from clicking the first one or two menu items? Sure you have 😀 Let's get rid of this tooltip!

 

A small article this time, sharing a method with which you can remove the tooltip AND leave the Header widget untouched.

 

Tooltip

The tooltip what this article is for. When hovering over the top left logo in Employee Center, a tooltip "Employee Center - Home Page" will pop up. The tooltip will overlay the first one or two menu items which makes clicking these immediately impossible.

 

01.png

 

CSS override

You could remove the tooltip by editing the "Employee Center Header" widget. Though when you edit this widget, you own it and on future updates from ServiceNow you will be facing Skipped Updates regarding the widget. And as a bonus... when updating the widget, this will also result in a cross scope access privilege error message which you will need to handle.

 

For small visual changes like removing the tooltip, my preference is to look into overriding CSS. In this case creating CSS Include and Stylesheet which we can associate to the "EC Theme" which is the Theme record associated with the "Employee Center" portal record.

 

02.png

03.png

 

In most cases you could use the browser inspector to inspect which CSS elements you are after influencing. Unfortunately, in this case that will be a lot toucher. I will shorter your search by just sharing the CSS code I've used for this. It's a combination of several elements and wildcards.

 

04.png

 

a[data-title*="Employee Center"][data-toggle*="tooltip"][href*="?id=ec_dashboard"] ~ div[class*="tooltip fade bottom in"] {
  display: none !important;
}

 

Note: For Employee Center Pro the code might slightly differ!

 

Result

After applying the CSS Include and Stylesheet with above code, when hovering over the top left logo, the tooltip should not pop up anymore.

 

05.png

---

 

And that's it. Hope you like it. If any questions or remarks, let me know!

 

C

If this content helped you, I would appreciate it if you hit bookmark or mark it as helpful.

 

Interested in more Articles, Blogs, Videos, Podcasts, Share projects I shared/participated in?
- Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

 

Kind regards,


Mark Roethof

Independent ServiceNow Consultant
4x ServiceNow Developer MVP

4x ServiceNow Community MVP

---

LinkedIn

Comments
Community Alums
Not applicable

Great Article, but do you have any idea how we can edit the tooltip? Thank you!

Dale Hynes
Kilo Sage

Hi Mark, I just applied this to our Employee Center Pro.

In regards to "Note: For Employee Center Pro the code might slightly differ!" the only required change was 'id=ec_pro_dashboard'.

 

Regards,

Dale.

P.S. Love your work!

Himani_14
Mega Sage
Mega Sage

Really Helpful. Thanks Mark.

venky18
Tera Contributor

Hi All,

 

I am trying to remove the tooltip unfortunately I am not able to find the ec-theme-header in css includes tab. Any idea or inputs plz?

johnvpr
ServiceNow Employee
ServiceNow Employee

it seems not to work in Washington, we were able to get it to work this way:

https://www.servicenow.com/community/employee-center-forum/removing-top-left-logo-tooltip-on-employe...

 

Andrew Swallows
ServiceNow Employee
ServiceNow Employee

Excellent post! For whatever reason, it wasn't quite working on a customer instance but I came up with this guy. The + is so it's only the first tooltip / sibling and not ones over other menu items to the right. Probably can remove .clearfix its only adding specificity but I doubt another .navbar-brand exists:

.navbar-inverse .clearfix .navbar-brand + .tooltip{
  display: none !important;
}

 

Alexander17
Tera Guru

For EC Pro this as well works: 

a[data-title*="Employee Center - Home Page"][data-toggle*="tooltip"][href*="?id=ec_pro_home"] ~ div[class*="tooltip fade bottom in"] {
display: none !important;
}

Version history
Last update:
‎07-30-2024 10:21 AM
Updated by:
Contributors