- Posts: 20
- Thank you received: 0
Questions about Payment Form extension
Style Of Control
- Joseph Zingarelli
- Topic Author
- Offline
- Junior Member
Less
More
1 year 3 months ago #160587
by Joseph Zingarelli
Style Of Control was created by Joseph Zingarelli
Is it possible to change the style (the visual representation) of a control such as a checkbox or radio button to more-effectively highlight a selection?
Recently, a client asked me to change the style of the radio buttons and check boxes on forms I've built because 'you can't see a selection in a brightly-lit room.'
I'm thinking about the more-traditional control style such as the images I've attached.
Thanks,
Joe
Recently, a client asked me to change the style of the radio buttons and check boxes on forms I've built because 'you can't see a selection in a brightly-lit room.'
I'm thinking about the more-traditional control style such as the images I've attached.
Thanks,
Joe
Please Log in or Create an account to join the conversation.
- Joseph Zingarelli
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 20
- Thank you received: 0
1 year 3 months ago #160604
by Joseph Zingarelli
Replied by Joseph Zingarelli on topic Style Of Control
Tuan,
Never mind. I'm getting a bit more familiar with Payment Form and I applied this CSS override:
input[type="checkbox"], input[type="radio"] {
display: inherit !important;
margin-right: 0.375rem;
}
I would prefer to narrow the focus of the statement. I'll test to see if my change has unintended consequences.
Never mind. I'm getting a bit more familiar with Payment Form and I applied this CSS override:
input[type="checkbox"], input[type="radio"] {
display: inherit !important;
margin-right: 0.375rem;
}
I would prefer to narrow the focus of the statement. I'll test to see if my change has unintended consequences.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
1 year 3 months ago #160607
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Style Of Control
OK Joseph, I'm glad you figured out. Actually, I would say this should be styled by your template css. I don't know where do you add this css, but you might want to add it to css of the template (maybe template allows adding custom css) so that the change is applied to your whole site, not just Payment Form
Regards,
Tuan
Regards,
Tuan
Please Log in or Create an account to join the conversation.
Moderators: Tuan Pham Ngoc
Support
Documentation
Information
Copyright © 2024 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.