Page 1 of 1

Modify widths of Submitted by and Comments columns

Posted: Mon Jul 10, 2017 9:04 am
by fiveoq
In the Guestbook, there are two columns in the comments area, which may be set up like an HTML table, I don't know. The left column has "Submitted by:" with the name of the poster and other information like the city they are from. The right column is the Comments themselves. I want to make the left column less wide. Is there a percentage that you can adjust for this somewhere in the gbook.php script?

There was a posting about this in the forum as follows:

Thu Apr 10, 2008 6:31 pm
You are changing lines which show private posts there, change lines 959, 960, 963 and 988 instead.

There doesn't seem to be anything to change in those lines, either because I have added extra lines to the script above this a long time ago, and/or the script has changed since then (now Version: 1.7 from 20th August 2009).

Is there some text that I can search for with a percentage in it, for example?

Thanks.

=====

[Added later]

Just realized I have no idea which file I am supposed to modify. I was assuming gbook.php, but maybe that is not the correct one. Based on another posting from around the same time as the one mentioned above, I then tried modifying the following lines from the style.css file

.gbook_left{width:100px; height:auto; position:relative; float:left; margin-left:10px; margin-top:10px;}
.gbook_right{width:400px; height:auto; position:relative; float:left; margin-top:10px;}

I changed values from original 150px/350px and it didn't make any difference... :(

Re: Modify widths of Submitted by and Comments columns

Posted: Tue Jul 11, 2017 6:49 am
by Klemen
What you are looking for are gbook_left_box and gbook_right_box in the /templates/default/style.css file.

Change the widths there and it should work.