Title of GB Font 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

Title of GB Font 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:

Greetings again! How do I increase the font size of my GB Title? "The Angry"
(http://www.theangry.net/gbook/gbook.php) I can't remember what file(?) to open.

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

Re: Title of GB Font Size

Post by Klemen »

Hi,

In templates/default/style.css find line starting with h1 and change the value in

Code: Select all

font-size:20px;
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

Re: Title of GB Font Size

Post by Henrie »

Or you could have searched the forum and find the answer you got when you asked it a long time ago :wink:
viewtopic.php?f=7&t=3625

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.
evenstephencom
Posts: 56
Joined: Sat Apr 03, 2010 9:04 pm

Re: Title of GB Font Size

Post by evenstephencom »

If I understand correctly, here is the font size I have now: hr{ width:99%; height:1px; color:#333333;}
h1{margin:0; padding-top:5px; font-family:Trebuchet MS, Arial, Helvetica;
color:#ff0000; font-weight:normal; size:50px; position:relative; text-align: center;}

I changed the size to 90px to increase the the words "The Angry" at the top of the page---but I see no difference.

BTW: I did search for my previous post but didn't see it----shoot me.
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Re: Title of GB Font Size

Post by Klemen »

You need to read instructions carefully, it should say "font-size" not just "size".
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
evenstephencom
Posts: 56
Joined: Sat Apr 03, 2010 9:04 pm

Re: Title of GB Font Size

Post by evenstephencom »

Here is what I see: hr{ width:99%; height:1px; color:#333333;}

h1{margin:0; padding-top:5px; font-family:Trebuchet MS, Arial, Helvetica;
color:#ff0000; font-weight:normal; size:50px; position:relative; text-align: center;}
Henrie
Posts: 1095
Joined: Sun Aug 14, 2005 8:57 pm

Re: Title of GB Font Size

Post by Henrie »

you should change size:50px; to font-size:90px;


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.
evenstephencom
Posts: 56
Joined: Sat Apr 03, 2010 9:04 pm

Re: Title of GB Font Size

Post by evenstephencom »

....I changed it to 100px but see no results. Thanks all---we tried. :?
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Re: Title of GB Font Size

Post by Klemen »

Oh my, let me try this again.

Your h1 line says:

size:50px;

It should say:

font-size:50px;

Perhaps this will be obvious enough :lol: :wink:
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
evenstephencom
Posts: 56
Joined: Sat Apr 03, 2010 9:04 pm

Re: Title of GB Font Size

Post by evenstephencom »

h1{margin:0; padding-top:5px; font-family:Trebuchet MS, Arial, Helvetica;
color:#ff0000; font-weight:normal; font-size:90px; position:relative; text-align: center;}

What am I missing? :?
Henrie
Posts: 1095
Joined: Sun Aug 14, 2005 8:57 pm

Re: Title of GB Font Size

Post by Henrie »

You are not missing anything now.
The Angry looks really big at the top of your guestbook now.
It is even so big that part of the navigation part is displayed on top of the top post of the guestbook.

If you do not see it yourself maybe you need to reload the page with CTRL + F5 .

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.
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Re: Title of GB Font Size

Post by Klemen »

Yes, Henrie is right. You did modify it correctly now (too large in fact), your browser probably just has old style file cached.

As suggested refresh page using "Ctrl + F5" or clear browser cache in browser settings then try viewing the guestbook again.
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
evenstephencom
Posts: 56
Joined: Sat Apr 03, 2010 9:04 pm

Re: Title of GB Font Size

Post by evenstephencom »

....you were both correct! Control + F5 cleared my cache. I also tried to update the GB title but I dont see the GB title in over_all header so again, I must be blind! BTW: Drinks will be on me....and you can still shoot me. :wink:
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Re: Title of GB Font Size

Post by Klemen »

To update the text of the title use $settings['gbook_title'] variable in the settings.php file.
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
Post Reply