Changing colours

Dr. GBooky is here to help you with your guestbook problems ...
Post Reply
Mac
Posts: 6
Joined: Mon Jul 31, 2006 6:36 pm

Changing colours

Post by Mac »

Script URL:
Version of script:
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:

Write your message below:

I would like to change the background colour at the top of the comment box, it is a blue background with the words "submitted by" and "comments" along the top. I cannot find this in the syle sheet. Any help much appreciated.
Regards
MAC
Henrie
Posts: 1095
Joined: Sun Aug 14, 2005 8:57 pm

Post by Henrie »

Hello Mac,

Klemen has defined the horizontal blue bar in this style:

Code: Select all

.gbook_commentbox{width:96%; height:auto; background-image:url(images/bg_comment_box.gif); background-repeat:repeat-x; background-color:#f9f9f9; margin:0 auto; border:solid 1px #CCCCCC; display: table; margin-bottom:20px;}
He has created the bar by defining a background-image and let it repeat only on the x-axis.

So for changing the color of the horizontal bar, you should replace the bg_comment_box.gif image by your own image.

Greetings,
Henrie
I do not monitor the Gbook forums regularly anymore since I do not use the Gbook script myself anymore for a long time. But it helped me a lot in learning to understand php.
Mac
Posts: 6
Joined: Mon Jul 31, 2006 6:36 pm

Post by Mac »

Many thanks, Henrie.
Regards
MAC
Post Reply