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?

1 Answer 1

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 and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.