How to Freez Custom workspace list menu header

Rajesha Hati
Tera Expert

I workspace if we check for OOB Workspace then the header is freeze by default but for custom workspace it's not freeze. how can i do that

5 REPLIES 5

Ankur Bawiskar
Tera Patron
Tera Patron

@Rajesha Hati 

didn't get the question.

please highlight in the image

 

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

If you see the screenshot i have opened the custome workspace now and on scroll the columns which were available in header that also scrolled up. but in oob workspace like csm workspace if you check for the list and scroll the list the header columns will stay will not scrolled up.

M Iftikhar
Mega Sage

Hi @Rajesha Hati

 

Set CSS position:fixed to the top container. Then add top padding to the container below, matching the height of the header to prevent overlap. Set a high z-index and background color to make sure the header is always on top.

Here's the shot:

find_real_file.png

Hope this helps!

 

Thanks & Regards,
Muhammad Iftikhar
If my response helped, please mark it as the accepted solution so others can benefit as well.

Still not working and it's clearing display and flex-direction automatically after save