- Posts: 14
- Thank you received: 0
CSS Class for Custom Fields
- Debra McNeill
- Topic Author
- Offline
- New Member
-
Less
More
11 years 5 months ago #37757
by Debra McNeill
CSS Class for Custom Fields was created by Debra McNeill
I would like to be able to adjust the appearance of the width of the textbox for some of my custom fields. I know I can change the Size, but that doesn't change the appearance.
In looking at the page source code, I saw that the class for the input box is empty. So I entered a name in the "CSS Class" field of the custom field data form, thinking that then I could try to adjust the textbox width using that class. The name isn't showing up in the input line or anywhere else that I can find.
Is there any way I can assign a custom class to the input tag?
Thanks!!
Debra
In looking at the page source code, I saw that the class for the input box is empty. So I entered a name in the "CSS Class" field of the custom field data form, thinking that then I could try to adjust the textbox width using that class. The name isn't showing up in the input line or anywhere else that I can find.
Is there any way I can assign a custom class to the input tag?
Thanks!!
Debra
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
11 years 5 months ago #37776
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: CSS Class for Custom Fields
Hi
You can use a different css class to change the size. The extension use twitter bootstrap, so you can use the following css classes to control the size of the input :
input-mini
input-small
input-medium
input-large
input-xlarge
input-xxlarge
So in this case, try to edit custom field, enter one of the css class name above into Css class property of the custom field and It should solve the issue !
Tuan
You can use a different css class to change the size. The extension use twitter bootstrap, so you can use the following css classes to control the size of the input :
input-mini
input-small
input-medium
input-large
input-xlarge
input-xxlarge
So in this case, try to edit custom field, enter one of the css class name above into Css class property of the custom field and It should solve the issue !
Tuan
Please Log in or Create an account to join the conversation.
- Debra McNeill
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 14
- Thank you received: 0
11 years 5 months ago #37810
by Debra McNeill
Replied by Debra McNeill on topic Re: CSS Class for Custom Fields
OK. Should I put it in a particular css file? Wait, I found the classes in the bootstrap.css file. I'll try it over the weekend.
Thanks!!
Deb
Thanks!!
Deb
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
11 years 5 months ago #37834
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: CSS Class for Custom Fields
Yes Deb. No need for put it into the css file, these are standard css classes in twitter bootstrap framework. Just try and you will see how it works (I believe it will solve the issue).
Tuan
Tuan
Please Log in or Create an account to join the conversation.
- Debra McNeill
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 14
- Thank you received: 0
11 years 5 months ago #37857
by Debra McNeill
Replied by Debra McNeill on topic Re: CSS Class for Custom Fields
I tried "input-mini" in the css class field for Age and it didn't work. I'll submit this on the ticket with the "NOT_AUTHORIZED" error message problem. We can "talk" about it there.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
11 years 5 months ago #37938
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: CSS Class for Custom Fields
Update : It was a small bug in the custom fields library of Events Booking. I updated it and It works well now. Please go to your site to check ti and let us know the result !
Tuan
Tuan
The following user(s) said Thank You: Debra McNeill
Please Log in or Create an account to join the conversation.
- Debra McNeill
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 14
- Thank you received: 0
11 years 5 months ago #38096
by Debra McNeill
Replied by Debra McNeill on topic Re: CSS Class for Custom Fields
It works perfectly for the text boxes! Thank you!! 
Any chance we can make it also work for the dropdown boxes? I've got a custom field that just has years - 4 numbers. The system is forcing the class to be input-large on this too. I tried one of the smaller input classes but no-go. This isn't a big deal, but it would be nice.
(Sorry it has take so long for me to respond on this - we had a couple emergencies)
Thanks, Deb

Any chance we can make it also work for the dropdown boxes? I've got a custom field that just has years - 4 numbers. The system is forcing the class to be input-large on this too. I tried one of the smaller input classes but no-go. This isn't a big deal, but it would be nice.
(Sorry it has take so long for me to respond on this - we had a couple emergencies)
Thanks, Deb
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
11 years 5 months ago #38114
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: CSS Class for Custom Fields
Guess I need to check the whole code of the custom field class again. Will get back to you with a working version for all custom fields on tomorrow !
Regards,
Tuan
Regards,
Tuan
Please Log in or Create an account to join the conversation.
- Debra McNeill
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 14
- Thank you received: 0
11 years 5 months ago #38141
by Debra McNeill
Replied by Debra McNeill on topic Re: CSS Class for Custom Fields
You're the best!!
Thanks Tuan!
Thanks Tuan!
Please Log in or Create an account to join the conversation.
- Debra McNeill
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 14
- Thank you received: 0
11 years 5 months ago #38147
by Debra McNeill
Replied by Debra McNeill on topic Re: CSS Class for Custom Fields
Hi Tuan,
I figured out another way around the problem for the dropdown box for the graduation date. I should have just used the same solution that I had for the dropdown boxes later in the form.
I used the #eb_gradDate css field, adding it to the style.css file with a different width (80px). It worked very nicely!
So, if you want to skip figuring out what's up with the bootstrap input-???? fields, it's fine with me.
Thanks so much for your help. We're live with the registration system and the client is happy!
Debra
I figured out another way around the problem for the dropdown box for the graduation date. I should have just used the same solution that I had for the dropdown boxes later in the form.
I used the #eb_gradDate css field, adding it to the style.css file with a different width (80px). It worked very nicely!
So, if you want to skip figuring out what's up with the bootstrap input-???? fields, it's fine with me.
Thanks so much for your help. We're live with the registration system and the client is happy!
Debra
Please Log in or Create an account to join the conversation.
Moderators: Tuan Pham Ngoc
Support
Documentation
Information
Copyright © 2025 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.