Page 1 of 1

Help with colors

Posted: Sun Jun 07, 2009 3:11 am
by Oreilly
Script URL:
Version of script:1.6
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:

How do i change the color of
Powered by PHP guestbook 1 . 6 from PHPJunkyard - Free PHP scripts
i want to make them green and make it bold

Posted: Sun Jun 07, 2009 10:03 am
by Klemen
All the text can be styled using the style.css file. To learn more about CSS visit:
http://www.w3schools.com/css/

In you case you can try opening the style.css file in Notepad and change

Code: Select all

.smaller {
	font-size: 10px;
}
to
.smaller {
font-size: 10px;
font-weight: bold;
color: green;
}
and change

Code: Select all

a.smaller {
	font-size: 10px;
	color : #0084BE;
	text-decoration : underline;
}

a.smaller:hover {
	font-size: 10px;
	color : Red;
	text-decoration : none;
}
to

Code: Select all

a.smaller {
	font-size: 10px;
	font-weight: bold; 
	color : green;
	text-decoration : underline;
}

a.smaller:hover {
	font-size: 10px;
	color : green;
	text-decoration : none;
}
For any further editing please see the CSS tutorial mentioned above, it's very useful and not hard to learn CSS.

Posted: Tue Jun 09, 2009 11:57 pm
by Oreilly
Didnt change it
What flat file is it in?

Posted: Wed Jun 10, 2009 12:27 am
by DC
style.css is its own txt based file you can edit it directly.

Then just edit the code Klem has mentioned
Try the following CSS code.

Code: Select all

a.smaller {
	font-size: 10px;
	color : #668600;
	text-decoration : underline;
}

a.smaller:hover {
	font-size: 10px;
	color : #8EC400;
	text-decoration : none;
}
DC

re; picking style.css colours

Posted: Mon Jul 13, 2009 8:33 am
by puniksem
Here's a little utility to help you pick a completely custom colour, all you then need to do is copy the generated code into your style.css file in the appropriate section/s.

http://www.puniksem.com/picker/

I hope you and others find it useful.... :D