- Posts: 3
- Thank you received: 0
Applying CSS to Custom Fields
- Robert Clift
- Topic Author
- Offline
- New Member
-
Less
More
11 years 10 months ago - 11 years 10 months ago #42882
by Robert Clift
Applying CSS to Custom Fields was created by Robert Clift
Hi,
I'm sure this a complete newbie question, but I can't find an answer to it in the forum.
How do I apply CSS to custom fields I've created? I know I need to enter the CSS info in the CSS field, but for the life of me, I can't figure out what format it should be in. An example would probably explain it best for me.
Specifically, when I create a radio group with only two choices (Yes / No), the choices are spread out across the entire page width. I want to find a way to shrink down the space they occupy. I'm thinking of using TABLE MAX-WIDTH, but I can't figure out what I should put in the custom field CSS box to do this.
I'd be grateful for any suggestions.
Thanks!
I'm sure this a complete newbie question, but I can't find an answer to it in the forum.
How do I apply CSS to custom fields I've created? I know I need to enter the CSS info in the CSS field, but for the life of me, I can't figure out what format it should be in. An example would probably explain it best for me.
Specifically, when I create a radio group with only two choices (Yes / No), the choices are spread out across the entire page width. I want to find a way to shrink down the space they occupy. I'm thinking of using TABLE MAX-WIDTH, but I can't figure out what I should put in the custom field CSS box to do this.
I'd be grateful for any suggestions.
Thanks!
Last edit: 11 years 10 months ago by Robert Clift. Reason: Added more information
Please Log in or Create an account to join the conversation.
- Robert Clift
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 3
- Thank you received: 0
11 years 10 months ago - 11 years 10 months ago #42896
by Robert Clift
Replied by Robert Clift on topic Applying CSS to Custom Fields
I think I figured out the problem.
I poked around the code and it looks like that CSS_CLASS does not get applied to the radio control group.
If I've understood this correctly then, I would have to modify the code to apply a class to the radio control group or otherwise modify the layout of a radio control group.
Any thoughts?
I poked around the code and it looks like that CSS_CLASS does not get applied to the radio control group.
If I've understood this correctly then, I would have to modify the code to apply a class to the radio control group or otherwise modify the layout of a radio control group.
Any thoughts?
Last edit: 11 years 10 months ago by Robert Clift. Reason: Clarification
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Away
- Administrator
-
11 years 10 months ago #42899
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Applying CSS to Custom Fields
Hi Robert
Yes. In the current version, we don't allow that. So please edit the code to add the css class you want in this case. I will consider adding support for it in future release.
Regards,
Tuan
Yes. In the current version, we don't allow that. So please edit the code to add the css class you want in this case. I will consider adding support for it in future release.
Regards,
Tuan
The following user(s) said Thank You: Robert Clift
Please Log in or Create an account to join the conversation.
- Robert Clift
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 3
- Thank you received: 0
11 years 10 months ago #42971
by Robert Clift
Replied by Robert Clift on topic Applying CSS to Custom Fields
Thanks for the quick reply Tuan.
I was able to modify the code to suit my purposes for the time being.
Please do consider adding support for CSS_CLASS for radio groups in a future release.
Cheers!
Rob
I was able to modify the code to suit my purposes for the time being.
Please do consider adding support for CSS_CLASS for radio groups in a future release.
Cheers!
Rob
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Away
- Administrator
-
11 years 10 months ago #43003
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Applying CSS to Custom Fields
Yes Rob. Will add support for it in the future for sure.
Regards,
Tuan
Regards,
Tuan
Please Log in or Create an account to join the conversation.
Moderators: Tuan Pham Ngoc
Support
Documentation
Information
Copyright © 2026 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.