Need help with Joomla? We are available for hire to help with Joomla customization, upgrades, maintenance, and custom development.
Explore our services
Questions about Payment Form extension

Input Size

  • lcabezas
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
22 hours 1 minute ago #179193 by lcabezas
Input Size was created by lcabezas
How can we adjust the input size of a custom field? 

In EB, there is Input Size on Custom Fields so I can adjust it to become smaller or bigger input field. 

How can I do this in PMF?

Regards,

Lito

Please Log in or Create an account to join the conversation.

More
17 hours 7 minutes ago #179208 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Input Size
Hi Lito

Try to edit custom field. There is a setting called css class. Try to enter one of the following classes:

input-small
input-medium
input-large
input-xlarge
input-xxlarge

That would change the size of the input to meet your need

Regards,

Tuan

Please Log in or Create an account to join the conversation.

  • lcabezas
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
16 hours 26 minutes ago #179212 by lcabezas
Replied by lcabezas on topic Input Size
Thanks, Tuan,

Tried it, but didn't work.

Appreciate your help.

Regards.

Please Log in or Create an account to join the conversation.

More
16 hours 22 minutes ago #179213 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Input Size
That's strange. You can submit a support ticket so that I can check the issue directly on your site

Regards,

Tuan

Please Log in or Create an account to join the conversation.

  • lcabezas
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
4 hours 22 minutes ago #179221 by lcabezas
Replied by lcabezas on topic Input Size
Just sharing what was done for reference for others (unless this will be added in the next update )

Tuan added Custom CSS on PMF Configuration:
=====================
.pf-container .input-small {
  width: 90px !important;
}
.pf-container .input-medium {
  width: 150px !important;
}
.pf-container .input-large {
  width: 210px !important;
}
.pf-container .input-xlarge {
  width: 270px !important;
}
.pf-container .input-xxlarge {
  width: 530px !important;
}
===========================

For each custom field, it can now accept CSS Class
input-small
input-medium
input-large
input-xlarge
input-xxlarge

Thanks to Tuan's usual fast support.

 

Please Log in or Create an account to join the conversation.

More
4 hours 19 minutes ago #179222 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Input Size
You're welcome. And you can also use bootstrap sizing utility classes such as w-25, w-50, w-75, w-100... to control size of the inputs as well. See getbootstrap.com/docs/5.3/utilities/sizing/

Regards,

Tuan

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc