font color change in gbook

Dr. GBooky is here to help you with your guestbook problems ...
Henrie
Posts: 1095
Joined: Sun Aug 14, 2005 8:57 pm

Re: font color change in gbook

Post by Henrie »

You should download the file style.css from your site.
Than copy the original file from the GBook zip file you downloaded from the phpjunkyard site.
Than use a tool like Winmerge to find the differences in the file. There are portable versions like Winmerge Portable (http://portableapps.com/apps/utilities/ ... e_portable) and X-Winmerge (http://www.winpenpack.com/en/download.php?view.27) that you can use. I myself use the internal Compare File Contents function of Total Commander.

The difference is probably in this line (this one is taken from the original file)

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;}
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.
evenstephencom
Posts: 56
Joined: Sat Apr 03, 2010 9:04 pm

Re: font color change in gbook

Post by evenstephencom »

Good morning(?) Henrie: Thanks for your guidance. I solved the color issue with my "The Angry" title by adding H1 to end the color code at that point. However, some of the type in the left side of the page is almost invisible. Again, I'm stumped!
Henrie
Posts: 1095
Joined: Sun Aug 14, 2005 8:57 pm

Re: font color change in gbook

Post by Henrie »

You have the following in the style.css file:

Code: Select all

h1{margin:0; padding-top:5px; font-family:Trebuchet MS, Arial, Helvetica; 
color:#ff0000; font-weight:normal; size:48px; position:relative; text-align: center;}h1
you should remove the h1 at the end.
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.
evenstephencom
Posts: 56
Joined: Sat Apr 03, 2010 9:04 pm

Re: font color change in gbook

Post by evenstephencom »

.....it's been done. However, the blue background of the "posts" is really dark. How do I tone that down? Where we are done, I am buying you another drink!! You've earned it! :D
Henrie
Posts: 1095
Joined: Sun Aug 14, 2005 8:57 pm

Re: font color change in gbook

Post by Henrie »

In the line

Code: Select all

.gbook_commentbox{width:96%; height:auto; background-image:url('images/bg_comment_box.gif'); background-repeat:repeat-x; background-color:#010097; border:1px solid #CCCCCC; display: table; margin-bottom:20px; margin-left:auto; margin-right:auto; margin-top:0}
change #010097 in background-color:#010097; to your desired color
You can use the following site http://www.colorpicker.com/ to pick your desired color (the code on the top).

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.
Henrie
Posts: 1095
Joined: Sun Aug 14, 2005 8:57 pm

Re: font color change in gbook

Post by Henrie »

Good to see that you got it working. Transparent is a nice color :)

And thank you for the drink :)

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.
Post Reply