I have a start page with some views of normal and promoted links list. In these displayes I turned off the toolbars. But on the starter page ribbon, the list toolbar appear if a list item is selected in any display. I tried to use this solution in a script editor (see the code below) but this one turn off the whole ribbon but I wanna turn off just a part of it.

<script type="text/javascript">
            document.getElementById("s4-ribbonrow").style.display = "none";

Would anyone help me to solving this?

1 Answer 1


Refer below css:

  1. To hide list tab:

    .ms-cui-ct-last { display: none; }

  2. To hide item tab:

    .ms-cui-ct-first { display: none; }

  • How can I hide Item tab?
    – dotvihar
    Oct 12, 2018 at 8:41
  • I have added the css for it. Oct 12, 2018 at 9:25
  • @LazloKun Pleasure ;) Oct 12, 2018 at 10:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.