Admin reply - change color

Dr. GBooky is here to help you with your guestbook problems ...
Post Reply
zolon
Posts: 4
Joined: Tue May 18, 2010 12:34 pm

Admin reply - change color

Post by zolon »

Script URL: http://www.stefannyman.se/gbook/gbook.php
Version of script: 1.7
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution: admin color css

Write your message below:

Hello,
Is it possible to get admin reply in another color? I looked in the cssfile but couldn't find it, or am I blind? :D
Kind Regards
//zolon
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Try this:
1. open gbook.php in notepad
2. change

Code: Select all

<i><b>'.$lang['t30'].'</b> '.str_replace('##GBOOK_TEMPLATE##',$settings['tpl_path'],$reply).'</i>
to this:

Code: Select all

<span style="color:red"><i><b>'.$lang['t30'].'</b> '.str_replace('##GBOOK_TEMPLATE##',$settings['tpl_path'],$reply).'</i></span>
Be careful to change exactly the code I gave you, don't delete any other characters, quotes, ...
3. change "color:red" to whatever color you wish (CSS-compatible).
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
zolon
Posts: 4
Joined: Tue May 18, 2010 12:34 pm

Post by zolon »

Fast reply as always! Thank you!
Works like a charm! :P
Problem solved! :D
Post Reply