CSS ec_dashboard remove padding above background image only
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-27-2025 01:47 AM
Hi All,
In the ec_dashboard I need to remove the padding at the top above the background image but when I change padding top it of course removes the padding on the entire page. I cannot figure out how to just remove the padding above the background image. I tried with class on the container but no luck.
Does anyone know how I can accomplish to remove padding just at the top of the page ie above background image?
/* Padding for container after banner image */
.padding-top {
padding-top: 2.4rem;
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-27-2025 02:03 AM
Hello @Eli7 ,
Can you please provide a screen shot that shows the exact part of the page you are referring to?
Also, what is you Employee Center version number?
Regards,
Robert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-27-2025 02:57 AM
Sure
 
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-27-2025 03:27 AM - edited ‎04-27-2025 03:28 AM
Hello @Eli7 ,
Oh, that's completely customized.
Sorry, this can only be figured out by someone with access to your ServiceNow instance and that custom Theme and layout.
FYI, this is what the ec_dashboard looks like out of the box:
Regards,
Robert