0

I would like to know whether there is any way to hide ribbon except attach file icon. I have tried this

document.getElementById("s4-ribbonrow").style.display = "none";

but this will hide the whole ribbon.

1 Answer 1

1

You can identify id for individual items and then can do something like:

#Ribbon.ListItem.New{
    display:none;
}

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.