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

I'm trying to customize the OOTB Markup Styles in the Ribbon in SP2010 for the Rich Text Editor. I've found some documentation about the process, and one of the first steps is to add a PrefixStyleSheet attribute to the PublishingWebControls:RichHtmlField element in the page layout for layouts that use the Rich HTML Editor.

Making that change to the page layout in SP Designer does remove the OOTB Markup Styles, but I'm wondering how to apply the change across site collections? We have a number of site collections that use the same page layout, but I noticed that when I added the attribute to the page layout in one site collection, that change doesn't carry over to other site collections. Do I need to deploy a feature to make this change? Or is there an easy way to globally change a page layout in all site collections that have that layout?

share|improve this question

Page layouts live in the master page gallery and you can't go higher than the site collection. You will need to either manually copy and apply the modified page layout to other site collections or automate it using PowerShell.

You could also develop a feature to deploy your page layout. You would probably end up using PowerShell to activate the feature for all your site collections.

share|improve this answer
Or you could use feature stapling to activate the feature on new site collections of certain site templates. – tarjeieo May 25 '11 at 11:25
Yes, that's an option for new site collections. Worth mentioning. – SPDoctor May 25 '11 at 12:02

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.