Adjust guestbook's new content height

Phoca Guestbook - creating guestbooks in Joomla! CMS
barlos
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 05 Apr 2023, 04:20

Adjust guestbook's new content height

Post by barlos »

Hello all,

Where can I adjust:
Editor Width - Set editor (textarea) width (in px)
Editor Height - Set editor (textarea) height (in px)

I cannot see the option.

Joomla version: 4.2.9
Phoca Guestbook: 4.0.2

Thank you very much.
christine
Phoca Hero
Phoca Hero
Posts: 2738
Joined: 28 Nov 2010, 17:20

Re: Adjust guestbook's new content height

Post by christine »

Hi,

you could try with this code (custom.css):

Code: Select all

.control-group,.control-label {
width: 1200px !important;  
}
BUT:

The content area is declared with 100% width!

If you have activated modules on the left or right or both there, the content of the gb takes up the full space available!
If you make it bigger, then you have to move a scroll bar back and forth, so that it is not user-friendly/recommended.

Kind regards
Christine
barlos
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 05 Apr 2023, 04:20

Re: Adjust guestbook's new content height

Post by barlos »

Hello Christine,
I want to make the post area smaller as well as the subject and name field.

Where is the custom.css or where I should creat one?

Best Regards,
Barlos
christine
Phoca Hero
Phoca Hero
Posts: 2738
Joined: 28 Nov 2010, 17:20

Re: Adjust guestbook's new content height

Post by christine »

Hi Barlos,

Subject:

Code: Select all

#jform_guestbook_title {
width: 25%; 
}
Name:

Code: Select all

#jform_guestbook_username {
width: 25%;  
}
Email:

Code: Select all

#jform_guestbook_email {
width: 25%;  
}
all instead of % in px e.g. 200px;

Or: Above Codes all in one:

Code: Select all

#jform_guestbook_title, #jform_guestbook_username, #jform_guestbook_email  {
width: 25%; 
}
content:

Code: Select all

.control-group,.control-label {
width: 55%; 
}
Template: create a user.css (for the Codes)
Other Templates mostly there is a custom.css or to create one.

Kind regards
Christine
barlos
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 05 Apr 2023, 04:20

Re: Adjust guestbook's new content height

Post by barlos »

Hello Christine,

I would like to change the height for subject, name and email's input box?

I would like to change the height for content/reply input box?

Best Regards,
christine
Phoca Hero
Phoca Hero
Posts: 2738
Joined: 28 Nov 2010, 17:20

Re: Adjust guestbook's new content height

Post by christine »

Hi Barlos,

You can change the height of bg, but it affects the other fields.
It depends on skin.min.css (editor). Therefore:

Try the following code in the user.css or custom.css of your template.

Code: Select all

.tox-tinymce {
height: 250px !important;
}
Subject, Name and Email:

Code: Select all

#jform_guestbook_title, #jform_guestbook_username, #jform_guestbook_email  {
height: 100px !important;  
}
Kind regards
Christine
Post Reply