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

change text color

Go to End

2 Posts   1747 Views


Community Member, 87 Posts

4 October 2008 at 4:47am

I download a theme to configure the layout of my site.
I have a problem: In the theme there is $content variable that define the layout of my site and so the colour of my texts. All text is define in

#content p{

If I want to change only the color of 1 word in that text how Can I do?

Is difficult for me explain in English. I hope it's clear.


Community Member, 23 Posts

10 October 2008 at 2:31am

The reccomended way is to code Heading 6 or 5 to be the same font and size as the text you want and simply choose the Heading for the word you want diffrent. Chances are you won't need a Heading 6 or 5 for anything else.

Sorry for the late response btw.