Page 1 of 1
Adjust guestbook's new content height
Posted: 05 Apr 2023, 04:28
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.
Re: Adjust guestbook's new content height
Posted: 05 Apr 2023, 21:30
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
Re: Adjust guestbook's new content height
Posted: 06 Apr 2023, 06:20
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
Re: Adjust guestbook's new content height
Posted: 06 Apr 2023, 14:13
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
Re: Adjust guestbook's new content height
Posted: 07 Apr 2023, 08:56
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,
Re: Adjust guestbook's new content height
Posted: 07 Apr 2023, 14:23
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