SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a way to add your own customized chrome types to all WebParts?

We need some DIV structure around the web parts to make a expand/collapse effect, so that a user can click on a "plus" icon and the web part expands or "minus" icon to collapse the web part, like in this example.

share|improve this question

You may be able to by overriding the web part. However it's probably simpler to just add the required script into your page.

Searching for "expand collapse web parts" shows several examples:

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.