Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo

adding to the list of preformatted options

Go to End



Forum Moderator, 224 Posts

18 October 2007 at 6:12pm

Hi Folk

In the cms, there are options for h1, h2, h3. What would be best practice for adding a custom style? Can you do that? It would be good to give clients something like one alternative colour option so that they can highlight bit of text.

I thought of one method:

1. take something like strikethrough (hardly used).
2. change your css for strikethrough to pink font colour
3. find out in the CMS what the image is for strikethrough (e.g. jsparty/tiny_mce2/themes/advanced/images/strikethrough.gif) and replace it with a nice pink button.

Is that a hack with a silver lining?

Keen to know if there is a more professional way within SS, or should I acces tiny_mce2 directly.