Author Topic: can not change fontcolor  (Read 3504 times)

eentje

  • Newbie
  • *
  • Posts: 3
  • Karma: 1
    • View Profile
can not change fontcolor
« on: February 02, 2008, 06:29:25 AM »
Hi,

First off all great piece of work!!! very easy to use :)

I've build a site with it but i can not figure out how i can change the fontcolors for individual letters...
I've tried to add html although it works great in the preview as soon as i hit update the colors disappear.

TIA for all the tipps, tricks etc.

Grtz, René

HandsomeWeb

  • SOS Developer
  • Administrator
  • Full Member
  • *****
  • Posts: 85
  • Karma: 2
    • View Profile
    • SOS Webpages
Re: can not change fontcolor
« Reply #1 on: February 02, 2008, 07:47:30 AM »
SOS Webpages requires XHTML 1.0 Strict and the HTML editor tries to fix any code you enter with appropriate XHTML and CSS.  Here is a way to change color.

While editing a paragraph do the following:

1. Click the "HTML" button
2. At the beginning of the text you want to color add "<span style='color:#990000">"
3. At the end of the text you and to color add "</span>"

So, to produce the following:
The word is a green word.

The code should look like this:
Code: [Select]
<p>The word is a <span style='color:green'>green</span> word.</p>
Chris
http://www.soswebpages.com
http://www.handsomeweb.com
http://www.handsomewebservices.com

HandsomeWeb

  • SOS Developer
  • Administrator
  • Full Member
  • *****
  • Posts: 85
  • Karma: 2
    • View Profile
    • SOS Webpages
Re: can not change fontcolor
« Reply #2 on: February 02, 2008, 07:50:48 AM »
You may also change colors in the style sheet of the template you are using.  But if you modify anything in a template, remember to rename the template and install the template with a new name, so it is never changed during an upgrade.
Chris
http://www.soswebpages.com
http://www.handsomeweb.com
http://www.handsomewebservices.com

eentje

  • Newbie
  • *
  • Posts: 3
  • Karma: 1
    • View Profile
Re: can not change fontcolor
« Reply #3 on: February 04, 2008, 07:00:56 AM »
worked great!!!! THX!!! :) :D