Jump to:

17452 Posts in 4473 Topics by 1971 members


SilverStripe Forums » Archive » change text color

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

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

Page: 1
Go to End
Author Topic: 1367 Views
  • ojalà
    Community Member
    87 Posts

    change text color Link to this post

    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.

  • justjc51
    Community Member
    23 Posts

    Re: change text color Link to this post

    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.

Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.