Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How color only half website title
#1
I am trying to color half of the website title different from the other half. I am very new at php, but I can figure it out if pointed in the right direction.

So far I thought to split the title into two strings giving each a different class and then just style each class. I do not know how to do this. Any help would be appreciated. Is this the easiest/only way to go about this in get simple.
Reply
#2
http://php.net/manual/en/function.substr.php this is the PHP function you need to do this
- Chris
Thanks for using GetSimple! - Download

Please do not email me directly for help regarding GetSimple. Please post all your questions/problems in the forum!
Reply
#3
you could use CSS pseudo elements: "first" for the first word of the title

do a little CSS tests
|--

Das deutschsprachige GetSimple-(Unter-)Forum:   http://get-simple.info/forums/forumdisplay.php?fid=18
Reply




Users browsing this thread: 1 Guest(s)