Forum Discussion
Matthew Russell
Jan 29, 2020Copper Contributor
Sharepoint Task List "Tasks" & "Lists" Ribbon disappeared
Hi
I hope someone can help
I have multiple Task lists which are used by different teams to monitor non-project related work. I have recently updated the task list pages to include a snippit webpart so the admins could change the width of the columns of the list.
Now this has been added, the Tasks and Lists option in the top ribbon have disappeared (unless I go to edit page).
I have made it so the task list is at the top of the page (as I thought the issue was having a snippet webpart above the list) but this hasn't helped
Any help on getting these options back would be greatly appreciated
Thanks
Matt
- Alan MarshallSteel ContributorDepends what your snippet is doing. If it's using Javescript to change the list behaviour, you have overwritten something the Microsoft code relies on to instigate showing the ribbon. Does your code do something different in edit mode? That may be an indication of what impacts the ribbon behaviour.
- Matthew RussellCopper Contributor
Hi
Thanks for getting back to me, yes the ribbon reappears when you use edit mode.Below is the snippet I am using:
<style>
.ms-vh-div[DisplayName='Column Name']
{
width : 700px !important;
}
</style>
Matt