Page 1 of 1

how do I change size of posted comments??

Posted: Sun Apr 13, 2008 10:14 pm
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

Posted: Mon Apr 14, 2008 7:30 am
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?

Posted: Mon Apr 14, 2008 3:40 pm
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