Set custom CSS class for fields?

  • lotus
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
12 years 5 months ago #12459 by lotus
Set custom CSS class for fields? was created by lotus
I see there's a default class of "inputbox" assigned to the input fields. Where can I change this? I am referring specifically to the fields under the Configuration -> Fields tab. (First/Last name etc)

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

More
12 years 5 months ago #12466 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Set custom CSS class for fields?
Hi

For the core fields like First Name, Last Name, ... the css class are hardcoded in the code. If you want to change it, you will have to modify code at components/com_jdonation/views/donation/tmpl/default.php (search for class="inputbox" and replace with the class name you want) .

Tuan

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

Moderators: Mr. DamDũng Nguyễn Việt