Page 1 of 1

Changing colours

Posted: Fri Mar 19, 2010 5:36 pm
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

Posted: Fri Mar 19, 2010 6:32 pm
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

Posted: Fri Mar 19, 2010 7:05 pm
by Mac
Many thanks, Henrie.
Regards