how do I change size of posted comments??

Dr. GBooky is here to help you with your guestbook problems ...
Post Reply
lobmbc
Posts: 6
Joined: Thu Mar 20, 2008 11:40 pm

how do I change size of posted comments??

Post by lobmbc »

Script URL: www.lobmbc.com/gbook/
Version of script: V1.6
Hosting company: Krystal
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:

comments font
font size

Write your message below:

I've tried changing every font size within style.css
I've tried searching this forum
I've tried "finding" comments font in gbook.php

I've obviously missed something simple.

Help!

Kev
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

All the font sizes are in the style.css file so changing that will have an effect on font size, just make sure you upload the modified style.css file on the server and refresh Gbook in your browser.

But I see you already did that (comments are smaller font than links for example), so what exactly are you trying to do?
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
Henrie
Posts: 1095
Joined: Sun Aug 14, 2005 8:57 pm

Post by Henrie »

I think Kev wants the Comments to have a different font-size from the rest of the message. This is at this moment not possible with the current GBook code.

To do this you will have to change the gbook.php file and then you can assign a style.

Open gbook.php and find line 544

Code: Select all

<td valign="top" style="width:65%">
and change it to

Code: Select all

<td valign="top" style="width:65%" class="comment">
do the same for line 988.

Now open the file style.css and add before .smaller

Code: Select all

.comment {
	font-size: 12px;
}
where you can use your own desired font-size.

Greetings,
Henrie
Post Reply