Page 1 of 1

Sign GB and View GB text size

Posted: Sat Apr 24, 2010 12:55 am
by evenstephencom
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:

Is it possible to also increase the font size of the "View GB and Sign GB" text in the GB header? I don't see those texts displayed in the same file as the Guest Book name text area.

Posted: Sat Apr 24, 2010 3:35 am
by Henrie
In GBook version 1.70 this would be easy to do in the style.css file.

But because you are using version 1.6 you have to edit the gbook.php file.

Find lines 1083-1088

Code: Select all

echo '<h3 style="text-align:center">'.$settings['gbook_title'].'</h3>
<p style="text-align:center"><a href="'.$settings['website_url'].'">'.$lang['t61'].' '.$settings['website_title'].'</a>
| <a href="gbook.php">'.$lang['t60'].'</a>
| <a href="gbook.php?a=sign">'.$lang['t48'].'</a></p>
<div class="centered">
';
and change it to

Code: Select all

echo '<h3 style="text-align:center">'.$settings['gbook_title'].'</h3>
<p style="text-align:center"><a href="'.$settings['website_url'].'">'.$lang['t61'].' '.$settings['website_title'].'</a></p>
<p style="text-align:center; font-size:15px"> <a href="gbook.php">'.$lang['t60'].'</a>
| <a href="gbook.php?a=sign">'.$lang['t48'].'</a></span></p>
<div class="centered">
';
or to whatever you want it to look like.

Greetings,
Henrie