0

I inserted a default table style in SharePoint and I would like to write some CSS rules to remove the other table styles. The default style should be the one which is added by me, the others must be removed.

So far, I tried this way but doesn't seem to be working:

enter image description here

#TableStyle1-Menu {
 display: none;
}

How shall I write the CSS rule to work as expected?

0

The working CSS rule to remove default table styles which are not used in Sharepoint ribbon is:

ul.ms-cui-menusection-items li.ms-cui-menusection-items #TableStyle1-Menu {
  display: none;
}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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