Sign GB and View GB text size

Dr. GBooky is here to help you with your guestbook problems ...
Post Reply
evenstephencom
Posts: 56
Joined: Sat Apr 03, 2010 9:04 pm

Sign GB and View GB text size

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

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