SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

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

I have successfully added a Summary Link Web Part as a feature and want to configure the styles and layout of it, including:

  1. The default style for new links
  2. The group header style
  3. The number of columns for groups

I would also like to add two new groups to the web part.

I need to do this when installing the web part as a feature during deployment.

Any leads would really help.

share|improve this question

Simillarly as with Content Query Web Part (CQWP) also the Summary Link Web Part is governed by an XSL file in charge of rendering content available at the Site Collection Level in the Style Library called SummaryLinkMain.xsl.

I would strongly recomand simply copy that file, rename it to your liking and then export your SLWP and change its attributes to point to the new file.

Beyond that you would need to change default CSS classes for more controlled rendering in accordance with your branding requirements. You could use a Content Editor Web Part (CEWP) to insert your CSS into page dynamically.

share|improve this answer

Your Answer


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

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